sprint
This commit is contained in:
parent
f25268f0db
commit
439b0b715d
@ -6,7 +6,6 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
networks:
|
networks:
|
||||||
- infra-net
|
|
||||||
- battleship-nginx
|
- battleship-nginx
|
||||||
- sprint-nginx
|
- sprint-nginx
|
||||||
deploy:
|
deploy:
|
||||||
@ -43,8 +42,6 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5672:5672"
|
- "5672:5672"
|
||||||
- "15672:15672"
|
- "15672:15672"
|
||||||
networks:
|
|
||||||
- infra-net
|
|
||||||
environment:
|
environment:
|
||||||
RABBITMQ_DEFAULT_PASS: $RABBITMQ_PASSWORD_DEV
|
RABBITMQ_DEFAULT_PASS: $RABBITMQ_PASSWORD_DEV
|
||||||
deploy:
|
deploy:
|
||||||
@ -96,6 +93,7 @@ services:
|
|||||||
- infra-net
|
- infra-net
|
||||||
ports:
|
ports:
|
||||||
- "9000:9000"
|
- "9000:9000"
|
||||||
|
- "9001:9001"
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
placement:
|
placement:
|
||||||
@ -111,8 +109,6 @@ volumes:
|
|||||||
driver: local
|
driver: local
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
infra-net:
|
|
||||||
driver: overlay
|
|
||||||
battleship-nginx:
|
battleship-nginx:
|
||||||
external: true
|
external: true
|
||||||
sprint-nginx:
|
sprint-nginx:
|
||||||
|
@ -6,7 +6,6 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
networks:
|
networks:
|
||||||
- infra-net
|
|
||||||
- battleship-nginx
|
- battleship-nginx
|
||||||
- sprint-nginx
|
- sprint-nginx
|
||||||
deploy:
|
deploy:
|
||||||
@ -42,8 +41,7 @@ services:
|
|||||||
image: rabbitmq:3.7.9-management
|
image: rabbitmq:3.7.9-management
|
||||||
ports:
|
ports:
|
||||||
- "5672:5672"
|
- "5672:5672"
|
||||||
networks:
|
- "15672:15672"
|
||||||
- infra-net
|
|
||||||
environment:
|
environment:
|
||||||
RABBITMQ_DEFAULT_PASS: $RABBITMQ_PASSWORD_PROD
|
RABBITMQ_DEFAULT_PASS: $RABBITMQ_PASSWORD_PROD
|
||||||
deploy:
|
deploy:
|
||||||
@ -93,8 +91,7 @@ services:
|
|||||||
MINIO_ROOT_PASSWORD: $MINIO_PASSWORD_PROD
|
MINIO_ROOT_PASSWORD: $MINIO_PASSWORD_PROD
|
||||||
ports:
|
ports:
|
||||||
- "9000:9000"
|
- "9000:9000"
|
||||||
networks:
|
- "9001:9001"
|
||||||
- infra-net
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
placement:
|
placement:
|
||||||
@ -110,8 +107,6 @@ volumes:
|
|||||||
driver: local
|
driver: local
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
infra-net:
|
|
||||||
driver: overlay
|
|
||||||
battleship-nginx:
|
battleship-nginx:
|
||||||
external: true
|
external: true
|
||||||
sprint-nginx:
|
sprint-nginx:
|
||||||
|
@ -3,15 +3,6 @@ events {}
|
|||||||
http {
|
http {
|
||||||
client_max_body_size 50m;
|
client_max_body_size 50m;
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name dev.develop.sprinthub.ru;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
proxy_pass http://sprint-nginx:1235/;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name swarmpit.develop.sprinthub.ru;
|
server_name swarmpit.develop.sprinthub.ru;
|
||||||
@ -26,7 +17,7 @@ http {
|
|||||||
server_name rabbitmq.develop.sprinthub.ru;
|
server_name rabbitmq.develop.sprinthub.ru;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://rabbitmq:15672/;
|
proxy_pass http://dev.develop.sprinthub.ru:15672/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -35,7 +26,7 @@ http {
|
|||||||
server_name minio.develop.sprinthub.ru;
|
server_name minio.develop.sprinthub.ru;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://minio:9001/;
|
proxy_pass http://dev.develop.sprinthub.ru:9001/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -50,10 +41,11 @@ http {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name *.develop.sprinthub.ru;
|
server_name dev.develop.sprinthub.ru;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://develop.sprinthub.ru/;
|
proxy_pass http://sprint-nginx:1235/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -2,14 +2,6 @@ events {}
|
|||||||
|
|
||||||
http {
|
http {
|
||||||
client_max_body_size 50m;
|
client_max_body_size 50m;
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name dev.sprinthub.ru;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
proxy_pass http://sprint-nginx:1235/;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
@ -34,7 +26,7 @@ http {
|
|||||||
server_name rabbitmq.sprinthub.ru;
|
server_name rabbitmq.sprinthub.ru;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://rabbitmq:15672/;
|
proxy_pass http://dev.sprinthub.ru:15672/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -43,7 +35,7 @@ http {
|
|||||||
server_name minio.sprinthub.ru;
|
server_name minio.sprinthub.ru;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://minio:9001/;
|
proxy_pass http://dev.sprinthub.ru:9001/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -55,4 +47,13 @@ http {
|
|||||||
proxy_pass http://battleship-nginx:1236/;
|
proxy_pass http://battleship-nginx:1236/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name dev.sprinthub.ru;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://sprint-nginx:1235/;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user