update: 删除多余的 network 配置(开多docker网段不是一件好事)

This commit is contained in:
🐟 2023-07-08 14:56:37 +08:00
parent 0c32e14843
commit 992515e75e
2 changed files with 5 additions and 7 deletions

3
.env
View File

@ -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
DIR=.

View File

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