From 992515e75e6d1a37809f03fad3b32d97196ff9a9 Mon Sep 17 00:00:00 2001 From: evlic Date: Sat, 8 Jul 2023 14:56:37 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84=20network=20=E9=85=8D=E7=BD=AE(=E5=BC=80=E5=A4=9Adock?= =?UTF-8?q?er=E7=BD=91=E6=AE=B5=E4=B8=8D=E6=98=AF=E4=B8=80=E4=BB=B6?= =?UTF-8?q?=E5=A5=BD=E4=BA=8B)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 3 +-- docker-compose.yaml | 9 ++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.env b/.env index 5c5ac00..1d81bba 100644 --- a/.env +++ b/.env @@ -1,8 +1,7 @@ NAME="def" -DOCKER_DATA_DIR_NAME="docker.data" COMPOSE_PROJECT_NAME=$NAME TZ=Asia/Shanghai TERM=xterm-256color -DIR=$HOME/$DOCKER_DATA_DIR_NAME/$NAME \ No newline at end of file +DIR=. \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 5297404..b68b7a2 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -8,18 +8,17 @@ services: ports: - 3111-3222:3111-3222 networks: - - apps + - local volumes: - ${DIR}:/etc/app - /etc/localtime:/etc/localtime:ro environment: APP_ADDRESS: 0.0.0.0:3111 - depends_on: - - app-d networks: - app: - driver: bridge + local: + name: local + external: true