update: 删除多余的 network 配置(开多docker网段不是一件好事)
This commit is contained in:
parent
0c32e14843
commit
992515e75e
3
.env
3
.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
|
||||
DIR=.
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user