battleship
This commit is contained in:
parent
2a92e338e2
commit
04f4b3a420
@ -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
|
@ -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/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user