no nginx
This commit is contained in:
parent
f98d3145ef
commit
a47563d7c1
@ -3,17 +3,6 @@ version: "3"
|
||||
|
||||
services:
|
||||
|
||||
nginx:
|
||||
image: nginx
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||
deploy:
|
||||
mode: replicated
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
||||
postgres:
|
||||
image: postgres
|
||||
environment:
|
||||
@ -58,9 +47,9 @@ services:
|
||||
FS_HOST: $FS_HOST
|
||||
DEBUG: $DEBUG
|
||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||
command: ./manage.py runserver 0.0.0.0:8000
|
||||
command: ./manage.py runserver 0.0.0.0:80
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "80:80"
|
||||
depends_on:
|
||||
- migrations
|
||||
- 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