📝 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
|
TZ=Asia/Shanghai
|
||||||
TERM=xterm-256color
|
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:
|
services:
|
||||||
app:
|
app:
|
||||||
container_name: v2
|
container_name: v2
|
||||||
@ -10,6 +10,8 @@ services:
|
|||||||
- apps
|
- apps
|
||||||
volumes:
|
volumes:
|
||||||
- ${DIR}/app:/etc/app
|
- ${DIR}/app:/etc/app
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
APP_ADDRESS: 0.0.0.0:3111
|
APP_ADDRESS: 0.0.0.0:3111
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Loading…
Reference in New Issue
Block a user