This commit is contained in:
Administrator
2022-09-04 00:30:28 +03:00
parent 1962a9fc2b
commit ba60154492
3 changed files with 11 additions and 12 deletions

View File

@@ -5,15 +5,14 @@ services:
image: mathwave/sprint-repo:sprint-infra-nginx-prod
ports:
- "80:80"
- "443:443"
networks:
- net
- battleship-nginx
- sprint-nginx
- swarmpit-nginx
- gitlab-nginx
deploy:
mode: replicated
replicas: 2
replicas: 1
restart_policy:
condition: any
placement:
@@ -44,7 +43,8 @@ services:
image: rabbitmq:3.7.9-management
ports:
- "5672:5672"
- "15672:15672"
networks:
- net
environment:
RABBITMQ_DEFAULT_PASS: $RABBITMQ_PASSWORD_PROD
deploy:
@@ -96,7 +96,8 @@ services:
MINIO_ROOT_PASSWORD: $MINIO_PASSWORD_PROD
ports:
- "9000:9000"
- "9001:9001"
networks:
- net
deploy:
mode: replicated
placement:
@@ -112,11 +113,11 @@ volumes:
driver: local
networks:
net:
driver: overlay
battleship-nginx:
external: true
sprint-nginx:
external: true
swarmpit-nginx:
external: true
gitlab-nginx:
external: true