remove nginx
This commit is contained in:
parent
628e9b9533
commit
d042de69af
@ -4,22 +4,10 @@ version: "3.4"
|
||||
services:
|
||||
|
||||
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
|
||||
networks:
|
||||
- net
|
||||
- common-infra-nginx
|
||||
environment:
|
||||
DB_HOST: "pg.develop.sprinthub.ru"
|
||||
DB_PASSWORD: $DB_PASSWORD_DEV
|
||||
@ -89,7 +77,5 @@ services:
|
||||
order: start-first
|
||||
|
||||
networks:
|
||||
net:
|
||||
driver: overlay
|
||||
common-infra-nginx:
|
||||
external: true
|
@ -4,26 +4,10 @@ version: "3.4"
|
||||
services:
|
||||
|
||||
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
|
||||
networks:
|
||||
- net
|
||||
- common-infra-nginx
|
||||
environment:
|
||||
DB_HOST: "pg.sprinthub.ru"
|
||||
DB_PASSWORD: $DB_PASSWORD_PROD
|
||||
@ -103,7 +87,5 @@ services:
|
||||
order: start-first
|
||||
|
||||
networks:
|
||||
net:
|
||||
driver: overlay
|
||||
common-infra-nginx:
|
||||
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