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: 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