From b621cab95393ffd88c8f1e5ac1d9d771a00001c9 Mon Sep 17 00:00:00 2001 From: evlic Date: Wed, 30 Nov 2022 11:54:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20update(docker=20compose)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 3 ++- docker-compose.yaml | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) 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: