Linked configuration
This commit is contained in:
parent
8f614c61f7
commit
ddbc6a11f2
|
@ -2,7 +2,7 @@ version: '3'
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
cluster:
|
cluster:
|
||||||
external: false
|
driver: bridge
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
|
@ -39,7 +39,9 @@ services:
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
ports:
|
ports:
|
||||||
- '8088:80'
|
- '80:80'
|
||||||
|
volumes:
|
||||||
|
- ./nginx/config.con:/etc/nginx/nginx.con:ro
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 4
|
replicas: 4
|
||||||
update_config:
|
update_config:
|
||||||
|
@ -57,5 +59,8 @@ services:
|
||||||
window: 120s
|
window: 120s
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "service", "nginx", "status"]
|
test: ["CMD", "service", "nginx", "status"]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- cluster
|
- cluster
|
||||||
|
|
Loading…
Reference in New Issue