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 image: mathwave/sprint-repo:sprint-infra-nginx-dev
ports: ports:
- "80:80" - "80:80"
- "443:443"
networks: networks:
- nginx-dev - battleship-nginx
- nginx-battleship
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1
@ -108,7 +106,5 @@ volumes:
driver: local driver: local
networks: networks:
dev-nginx:
driver: overlay
battleship-nginx: battleship-nginx:
driver: overlay external: true

View File

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