📝 update(docker compose)
This commit is contained in:
parent
eefd54cb4d
commit
b621cab953
3
.env
3
.env
@ -2,4 +2,5 @@ COMPOSE_PROJECT_NAME=$NAME
|
||||
TZ=Asia/Shanghai
|
||||
TERM=xterm-256color
|
||||
|
||||
DIR=$HOME/docker.data/$NAME
|
||||
DIR=$HOME/docker.data/$NAME
|
||||
# DIR=$HOME/.config
|
@ -1,4 +1,4 @@
|
||||
version: '2.12'
|
||||
version: '3'
|
||||
services:
|
||||
app:
|
||||
container_name: v2
|
||||
@ -10,6 +10,8 @@ services:
|
||||
- apps
|
||||
volumes:
|
||||
- ${DIR}/app:/etc/app
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
environment:
|
||||
APP_ADDRESS: 0.0.0.0:3111
|
||||
depends_on:
|
||||
|
Loading…
Reference in New Issue
Block a user