feat: update

This commit is contained in:
liuyx 2024-09-02 15:19:23 +08:00
parent 992515e75e
commit b675d47426
2 changed files with 12 additions and 17 deletions

3
.env
View File

@ -4,4 +4,5 @@ COMPOSE_PROJECT_NAME=$NAME
TZ=Asia/Shanghai
TERM=xterm-256color
DIR=.
DIR=.
ROOT_DIR=$HOME/.u22

View File

@ -1,24 +1,18 @@
version: '3'
services:
app:
u22:
# command: command
container_name: v2
image: app:latest
container_name:
image: ubuntu:22.04
restart: always
ports:
- 3111-3222:3111-3222
networks:
- local
# ports:
# - 3111-3222:3111-3222
# networks:
# - local
privileged: true
network_mode: host
volumes:
- ${DIR}:/etc/app
- ${ROOT_DIR}:/root
- /etc/localtime:/etc/localtime:ro
environment:
APP_ADDRESS: 0.0.0.0:3111
networks:
local:
name: local
external: true