routing
This commit is contained in:
parent
6c93e43459
commit
d1973e394d
@ -5,7 +5,6 @@ services:
|
||||
nginx:
|
||||
image: mathwave/sprint-repo:sprint-infra-nginx-dev
|
||||
networks:
|
||||
- net
|
||||
- battleship-nginx
|
||||
- sprint-nginx
|
||||
- swarmpit-nginx
|
||||
@ -45,8 +44,7 @@ services:
|
||||
image: rabbitmq:3.10.7-management
|
||||
ports:
|
||||
- "5672:5672"
|
||||
networks:
|
||||
- net
|
||||
- "15672:15672"
|
||||
environment:
|
||||
RABBITMQ_DEFAULT_PASS: $RABBITMQ_PASSWORD_DEV
|
||||
deploy:
|
||||
@ -98,8 +96,7 @@ services:
|
||||
MINIO_ROOT_PASSWORD: $MINIO_PASSWORD_DEV
|
||||
ports:
|
||||
- "9000:9000"
|
||||
networks:
|
||||
- net
|
||||
- "9001:9001"
|
||||
deploy:
|
||||
mode: replicated
|
||||
placement:
|
||||
|
@ -5,7 +5,6 @@ services:
|
||||
nginx:
|
||||
image: mathwave/sprint-repo:sprint-infra-nginx-prod
|
||||
networks:
|
||||
- net
|
||||
- battleship-nginx
|
||||
- sprint-nginx
|
||||
- swarmpit-nginx
|
||||
@ -45,8 +44,7 @@ services:
|
||||
image: rabbitmq:3.10.7-management
|
||||
ports:
|
||||
- "5672:5672"
|
||||
networks:
|
||||
- net
|
||||
- "15672:15672"
|
||||
environment:
|
||||
RABBITMQ_DEFAULT_PASS: $RABBITMQ_PASSWORD_PROD
|
||||
deploy:
|
||||
@ -98,8 +96,7 @@ services:
|
||||
MINIO_ROOT_PASSWORD: $MINIO_PASSWORD_PROD
|
||||
ports:
|
||||
- "9000:9000"
|
||||
networks:
|
||||
- net
|
||||
- "9001:9001"
|
||||
deploy:
|
||||
mode: replicated
|
||||
placement:
|
||||
|
@ -15,7 +15,6 @@ services:
|
||||
retries: 3
|
||||
networks:
|
||||
- net
|
||||
- swarmpit-nginx
|
||||
ports:
|
||||
- "888:8080"
|
||||
deploy:
|
||||
|
@ -15,7 +15,6 @@ services:
|
||||
retries: 3
|
||||
networks:
|
||||
- net
|
||||
- swarmpit-nginx
|
||||
ports:
|
||||
- "888:8080"
|
||||
deploy:
|
||||
|
@ -24,7 +24,7 @@ http {
|
||||
add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://app:8080/;
|
||||
proxy_pass http://develop.sprinthub.ru:888/;
|
||||
}
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ http {
|
||||
add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://rabbitmq:15672/;
|
||||
proxy_pass http://develop.sprinthub.ru:15672/;
|
||||
}
|
||||
}
|
||||
|
||||
@ -62,7 +62,7 @@ http {
|
||||
add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://minio:9001/;
|
||||
proxy_pass http://develop.sprinthub.ru:9001/;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,7 @@ http {
|
||||
server {
|
||||
listen 80;
|
||||
server_name gitlab.sprinthub.ru;
|
||||
|
||||
|
||||
location / {
|
||||
proxy_pass http://dev.sprinthub.ru:1234/;
|
||||
}
|
||||
@ -52,7 +52,7 @@ http {
|
||||
add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://app:8080/;
|
||||
proxy_pass http://dev.sprinthub.ru:888/;
|
||||
}
|
||||
}
|
||||
|
||||
@ -71,7 +71,7 @@ http {
|
||||
add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://rabbitmq:15672/;
|
||||
proxy_pass http://dev.sprinthub.ru:15672/;
|
||||
}
|
||||
}
|
||||
|
||||
@ -90,7 +90,7 @@ http {
|
||||
add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://minio:9001/;
|
||||
proxy_pass http://dev.sprinthub.ru:9001/;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user