From a47563d7c17c9df97bae91b18a45f42934be6399 Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Thu, 10 Mar 2022 01:33:04 +0300 Subject: [PATCH] no nginx --- docker-compose-deploy.yaml | 15 ++------------- nginx.conf | 9 --------- 2 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 nginx.conf diff --git a/docker-compose-deploy.yaml b/docker-compose-deploy.yaml index ff11454..5da7ddb 100644 --- a/docker-compose-deploy.yaml +++ b/docker-compose-deploy.yaml @@ -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 diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index 5ffb7d9..0000000 --- a/nginx.conf +++ /dev/null @@ -1,9 +0,0 @@ -events {} - -http { - server { - location / { - proxy_pass http://0.0.0.0:8000; #/$1$is_args$args; - } - } -} \ No newline at end of file