feat: update
This commit is contained in:
parent
992515e75e
commit
b675d47426
3
.env
3
.env
@ -4,4 +4,5 @@ COMPOSE_PROJECT_NAME=$NAME
|
|||||||
TZ=Asia/Shanghai
|
TZ=Asia/Shanghai
|
||||||
TERM=xterm-256color
|
TERM=xterm-256color
|
||||||
|
|
||||||
DIR=.
|
DIR=.
|
||||||
|
ROOT_DIR=$HOME/.u22
|
@ -1,24 +1,18 @@
|
|||||||
version: '3'
|
|
||||||
services:
|
services:
|
||||||
app:
|
u22:
|
||||||
# command: command
|
# command: command
|
||||||
container_name: v2
|
container_name:
|
||||||
image: app:latest
|
image: ubuntu:22.04
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
# ports:
|
||||||
- 3111-3222:3111-3222
|
# - 3111-3222:3111-3222
|
||||||
networks:
|
# networks:
|
||||||
- local
|
# - local
|
||||||
|
privileged: true
|
||||||
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- ${DIR}:/etc/app
|
- ${ROOT_DIR}:/root
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
APP_ADDRESS: 0.0.0.0:3111
|
APP_ADDRESS: 0.0.0.0:3111
|
||||||
|
|
||||||
networks:
|
|
||||||
local:
|
|
||||||
name: local
|
|
||||||
external: true
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user