battleship-prod

This commit is contained in:
Administrator 2022-08-30 22:12:15 +03:00
parent 04f4b3a420
commit edc315b4f5
2 changed files with 8 additions and 2 deletions

View File

@ -5,6 +5,8 @@ services:
image: mathwave/sprint-repo:sprint-infra-nginx-prod image: mathwave/sprint-repo:sprint-infra-nginx-prod
ports: ports:
- "80:80" - "80:80"
networks:
- battleship-nginx
deploy: deploy:
mode: replicated mode: replicated
replicas: 2 replicas: 2
@ -102,3 +104,7 @@ services:
volumes: volumes:
minio_data: minio_data:
driver: local driver: local
networks:
battleship-nginx:
external: true

View File

@ -52,7 +52,7 @@ http {
server_name battleship.sprinthub.ru; server_name battleship.sprinthub.ru;
location / { location / {
proxy_pass http://dev.sprinthub.ru:1236/; proxy_pass http://battleship-nginx:1236/;
} }
} }
} }