diff --git a/.env b/.env index 5fc752d..9ad2307 100644 --- a/.env +++ b/.env @@ -2,4 +2,5 @@ COMPOSE_PROJECT_NAME=$NAME TZ=Asia/Shanghai TERM=xterm-256color -DIR=$HOME/docker.data/$NAME \ No newline at end of file +DIR=$HOME/docker.data/$NAME +# DIR=$HOME/.config \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 068a860..582ae02 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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: