mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 12:18:45 -05:00
gunicorn media file serving
This commit is contained in:
@@ -7,6 +7,10 @@ ALLOWED_HOSTS=*
|
||||
# random secret key, use for example base64 /dev/urandom | head -c50 to generate one
|
||||
SECRET_KEY=
|
||||
|
||||
# serve mediafiles directly using gunicorn, technically not a "best practice" but for the expected small deployments
|
||||
# of this application absolutely sufficient. If False some kind of webserver (for example nginx) is needed to server mediafiles
|
||||
GUNICORN_MEDIA=True
|
||||
|
||||
# add only a database password if you want to run with the default postgres, otherwise change settings accordingly
|
||||
DB_ENGINE=django.db.backends.postgresql_psycopg2
|
||||
POSTGRES_HOST=db_recipes
|
||||
|
||||
Reference in New Issue
Block a user