This commit is contained in:
Administrator 2022-08-30 22:08:45 +03:00
parent 1204156dd3
commit f5e91977e7

View File

@ -3,18 +3,15 @@ version: "3.4"
services:
nginx:
battleship-nginx:
image: mathwave/sprint-repo:battleship-nginx
networks:
- battleship-net
ports:
- "1236:80"
- battleship-nginx
deploy:
mode: replicated
restart_policy:
condition: any
placement:
constraints: [node.role == manager]
update_config:
parallelism: 1
order: start-first
@ -55,3 +52,5 @@ services:
networks:
battleship-net:
driver: overlay
battleship-nginx:
external: true