battleship

This commit is contained in:
Administrator 2022-08-30 21:58:53 +03:00
parent 2a92e338e2
commit 04f4b3a420
2 changed files with 3 additions and 7 deletions

View File

@ -5,10 +5,8 @@ services:
image: mathwave/sprint-repo:sprint-infra-nginx-dev
ports:
- "80:80"
- "443:443"
networks:
- nginx-dev
- nginx-battleship
- battleship-nginx
deploy:
mode: replicated
replicas: 1
@ -108,7 +106,5 @@ volumes:
driver: local
networks:
dev-nginx:
driver: overlay
battleship-nginx:
driver: overlay
external: true

View File

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