Skip to content

Commit

Permalink
Build Without Gunicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
feeelin committed Mar 31, 2024
1 parent f0b5697 commit 6debfd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cinema/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
'NAME': 'cinema',
'USER': 'admin',
'PASSWORD': 'admin',
'HOST': 'localhost',
'HOST': 'postgres.feelindev.ru',
'PORTS': '5432'
}
}
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6debfd0

Please sign in to comment.