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