no nginx
This commit is contained in:
parent
f98d3145ef
commit
a47563d7c1
@ -3,17 +3,6 @@ version: "3"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
nginx:
|
|
||||||
image: nginx
|
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
volumes:
|
|
||||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
|
||||||
deploy:
|
|
||||||
mode: replicated
|
|
||||||
restart_policy:
|
|
||||||
condition: on-failure
|
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: postgres
|
||||||
environment:
|
environment:
|
||||||
@ -58,9 +47,9 @@ services:
|
|||||||
FS_HOST: $FS_HOST
|
FS_HOST: $FS_HOST
|
||||||
DEBUG: $DEBUG
|
DEBUG: $DEBUG
|
||||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||||
command: ./manage.py runserver 0.0.0.0:8000
|
command: ./manage.py runserver 0.0.0.0:80
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "80:80"
|
||||||
depends_on:
|
depends_on:
|
||||||
- migrations
|
- migrations
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
events {}
|
|
||||||
|
|
||||||
http {
|
|
||||||
server {
|
|
||||||
location / {
|
|
||||||
proxy_pass http://0.0.0.0:8000; #/$1$is_args$args;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user