From 6debfd027a508d28a25117ccaf2d8f6a1493052d Mon Sep 17 00:00:00 2001 From: Valery Filatov Date: Sun, 31 Mar 2024 12:59:44 +0300 Subject: [PATCH] Build Without Gunicorn --- cinema/settings.py | 2 +- docker-compose.yaml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cinema/settings.py b/cinema/settings.py index 4cc9e89..426cd86 100644 --- a/cinema/settings.py +++ b/cinema/settings.py @@ -83,7 +83,7 @@ 'NAME': 'cinema', 'USER': 'admin', 'PASSWORD': 'admin', - 'HOST': 'localhost', + 'HOST': 'postgres.feelindev.ru', 'PORTS': '5432' } } diff --git a/docker-compose.yaml b/docker-compose.yaml index 7b947bc..c1e00b2 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -16,8 +16,7 @@ services: build: dockerfile: ./Dockerfile context: ./ - command: sh -c "python manage.py collectstatic && - gunicorn web.wsgi:application --bind 0.0.0.0:8000" + command: sh -c "python manage.py runserver" volumes: - /web_django expose: