This commit is contained in:
Administrator
2022-09-05 19:18:35 +03:00
parent 02bcf4e558
commit 5793e735b6
12 changed files with 170 additions and 57 deletions

View File

@@ -1,11 +1,26 @@
version: "3.6"
services:
nginx:
image: mathwave/sprint-repo:sprint-infra-nginx-dev
ssl:
image: mathwave/sprint-repo:sprint-infra-ssl-dev
ports:
- "80:80"
- "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:
image: mathwave/sprint-repo:sprint-infra-nginx-dev
networks:
- net
- battleship-nginx

View File

@@ -1,6 +1,24 @@
version: "3.6"
services:
ssl:
image: mathwave/sprint-repo:sprint-infra-ssl-prod
ports:
- "80:80"
- "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:
image: mathwave/sprint-repo:sprint-infra-nginx-prod
ports: