This commit is contained in:
Egor Matveev 2022-03-10 01:33:04 +03:00
parent f98d3145ef
commit a47563d7c1
2 changed files with 2 additions and 22 deletions

View File

@ -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

View File

@ -1,9 +0,0 @@
events {}
http {
server {
location / {
proxy_pass http://0.0.0.0:8000; #/$1$is_args$args;
}
}
}