📝 update(docker compose)

This commit is contained in:
evlic 2022-11-30 11:54:02 +08:00
parent eefd54cb4d
commit b621cab953
2 changed files with 5 additions and 2 deletions

1
.env
View File

@ -3,3 +3,4 @@ TZ=Asia/Shanghai
TERM=xterm-256color
DIR=$HOME/docker.data/$NAME
# DIR=$HOME/.config

View File

@ -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: