This commit is contained in:
Administrator 2022-09-05 19:51:56 +03:00
parent e445e72059
commit 10eef2bd40

View File

@ -1,22 +1,6 @@
version: "3.6" version: "3.6"
services: services:
ssl:
image: mathwave/sprint-repo:sprint-infra-ssl-prod
ports:
- "443:443"
networks:
- net
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: any
placement:
constraints: [node.role == manager]
update_config:
parallelism: 1
order: start-first
nginx: nginx:
image: mathwave/sprint-repo:sprint-infra-nginx-prod image: mathwave/sprint-repo:sprint-infra-nginx-prod
@ -27,6 +11,7 @@ services:
- swarmpit-nginx - swarmpit-nginx
ports: ports:
- "80:80" - "80:80"
- "443:443"
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1