2024-11-17 16:37:23 +01:00
|
|
|
####################################################################################################
|
|
|
|
# Example configuration. Must be edited and copied to ".env" next to the compose.yaml
|
|
|
|
####################################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
# Path to to mount as the directory for static data. Must be served by a webserver on the /static path
|
|
|
|
DJANGO_STATIC_VOL=/path/to/static/root
|
|
|
|
|
|
|
|
# Path to the media root. Must be served by a webserver on the media URL
|
|
|
|
DJANGO_MEDIA_VOL=/path/to/media/root
|
|
|
|
|
2024-11-17 19:36:27 +01:00
|
|
|
# folder for DB
|
|
|
|
PGDATA_VOL=/path/to/pgdata
|
|
|
|
|
2024-11-17 16:37:23 +01:00
|
|
|
# Port to serve the App
|
|
|
|
PORT=8000
|
|
|
|
|
|
|
|
# Secret Key. Must be edited before deployment
|
|
|
|
DJANGO_SECRET_KEY=534hj5jgh4365ghj35jgh245jgh24
|
|
|
|
|
2024-11-17 20:08:53 +01:00
|
|
|
# Allowed host to be accessed. Currently it is only possible to specify a single URL
|
2024-11-17 16:37:23 +01:00
|
|
|
DJANGO_ALLOWED_HOST=lab.example.com
|
|
|
|
|
|
|
|
# Media URL for images and other content
|
|
|
|
DJANGO_MEDIA_URL=media.lab.example.com/
|
|
|
|
|
|
|
|
# DO NOT SET DEBUG MODE IN PRODUCTION
|
|
|
|
# DJANGO_FORCE_DEV_MODE=True
|
|
|
|
|
2024-11-17 16:52:18 +01:00
|
|
|
# Set this password if you want to use a custom postgres password. The db should be confined inside the docker network.
|
2024-11-17 16:37:23 +01:00
|
|
|
# Using the standard PW is therefore not a problem
|
|
|
|
# DJANGO_POSTGRESQL_PW=myfancynewpassword123donotsharemewithanyone
|