优化docker-compose的配置文件
This commit is contained in:
@@ -15,7 +15,7 @@ services:
|
||||
container_name: gva-web
|
||||
restart: always
|
||||
ports:
|
||||
- '8000:8000'
|
||||
- '8080:8080'
|
||||
depends_on:
|
||||
- server
|
||||
command: [ 'nginx-debug', '-g', 'daemon off;' ]
|
||||
@@ -34,6 +34,9 @@ services:
|
||||
depends_on:
|
||||
- mysql
|
||||
- redis
|
||||
links:
|
||||
- mysql
|
||||
- redis
|
||||
networks:
|
||||
network:
|
||||
ipv4_address: 177.7.0.12
|
||||
@@ -57,7 +60,7 @@ services:
|
||||
container_name: gva-redis # 容器名
|
||||
restart: always
|
||||
ports:
|
||||
- '6379:6379'
|
||||
- '16379:6379'
|
||||
networks:
|
||||
network:
|
||||
ipv4_address: 177.7.0.14
|
Reference in New Issue
Block a user