prod
This commit is contained in:
parent
1204156dd3
commit
f5e91977e7
@ -3,18 +3,15 @@ version: "3.4"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
nginx:
|
battleship-nginx:
|
||||||
image: mathwave/sprint-repo:battleship-nginx
|
image: mathwave/sprint-repo:battleship-nginx
|
||||||
networks:
|
networks:
|
||||||
- battleship-net
|
- battleship-net
|
||||||
ports:
|
- battleship-nginx
|
||||||
- "1236:80"
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
placement:
|
|
||||||
constraints: [node.role == manager]
|
|
||||||
update_config:
|
update_config:
|
||||||
parallelism: 1
|
parallelism: 1
|
||||||
order: start-first
|
order: start-first
|
||||||
@ -55,3 +52,5 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
battleship-net:
|
battleship-net:
|
||||||
driver: overlay
|
driver: overlay
|
||||||
|
battleship-nginx:
|
||||||
|
external: true
|
Loading…
Reference in New Issue
Block a user