remove nginx
This commit is contained in:
parent
628e9b9533
commit
d042de69af
@ -4,22 +4,10 @@ version: "3.4"
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
platform-nginx:
|
platform-nginx:
|
||||||
image: mathwave/sprint-repo:platform-nginx
|
|
||||||
networks:
|
|
||||||
- net
|
|
||||||
- common-infra-nginx
|
|
||||||
deploy:
|
|
||||||
mode: replicated
|
|
||||||
restart_policy:
|
|
||||||
condition: any
|
|
||||||
update_config:
|
|
||||||
parallelism: 1
|
|
||||||
order: start-first
|
|
||||||
|
|
||||||
app:
|
|
||||||
image: mathwave/sprint-repo:platform
|
image: mathwave/sprint-repo:platform
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
|
- common-infra-nginx
|
||||||
environment:
|
environment:
|
||||||
DB_HOST: "pg.develop.sprinthub.ru"
|
DB_HOST: "pg.develop.sprinthub.ru"
|
||||||
DB_PASSWORD: $DB_PASSWORD_DEV
|
DB_PASSWORD: $DB_PASSWORD_DEV
|
||||||
@ -89,7 +77,5 @@ services:
|
|||||||
order: start-first
|
order: start-first
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
net:
|
|
||||||
driver: overlay
|
|
||||||
common-infra-nginx:
|
common-infra-nginx:
|
||||||
external: true
|
external: true
|
@ -4,26 +4,10 @@ version: "3.4"
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
platform-nginx:
|
platform-nginx:
|
||||||
image: mathwave/sprint-repo:platform-nginx
|
|
||||||
networks:
|
|
||||||
- net
|
|
||||||
- common-infra-nginx
|
|
||||||
deploy:
|
|
||||||
mode: replicated
|
|
||||||
restart_policy:
|
|
||||||
condition: any
|
|
||||||
placement:
|
|
||||||
constraints:
|
|
||||||
# - node.role == worker
|
|
||||||
- node.labels.zone == ru
|
|
||||||
update_config:
|
|
||||||
parallelism: 1
|
|
||||||
order: start-first
|
|
||||||
|
|
||||||
app:
|
|
||||||
image: mathwave/sprint-repo:platform
|
image: mathwave/sprint-repo:platform
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
|
- common-infra-nginx
|
||||||
environment:
|
environment:
|
||||||
DB_HOST: "pg.sprinthub.ru"
|
DB_HOST: "pg.sprinthub.ru"
|
||||||
DB_PASSWORD: $DB_PASSWORD_PROD
|
DB_PASSWORD: $DB_PASSWORD_PROD
|
||||||
@ -103,7 +87,5 @@ services:
|
|||||||
order: start-first
|
order: start-first
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
net:
|
|
||||||
driver: overlay
|
|
||||||
common-infra-nginx:
|
common-infra-nginx:
|
||||||
external: true
|
external: true
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
FROM nginx
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
@ -1,11 +0,0 @@
|
|||||||
events {}
|
|
||||||
|
|
||||||
http {
|
|
||||||
client_max_body_size 150m;
|
|
||||||
server {
|
|
||||||
listen 1238;
|
|
||||||
location / {
|
|
||||||
proxy_pass http://app:8000/;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user