Add user ID and GID to example env file

This commit is contained in:
Mario Hüttel 2024-11-23 17:05:55 +01:00
parent 511dacf54a
commit 08a5f97fd4

View File

@ -2,6 +2,12 @@
# Example configuration. Must be edited and copied to ".env" next to the compose.yaml # Example configuration. Must be edited and copied to ".env" next to the compose.yaml
#################################################################################################### ####################################################################################################
# User id to use for the web application. This determines the user id, the media and static files are written to the volumes.
# Make sure the user has rw access to these directories.
DJANGO_USER_ID=1000
# Group id to use for the web application
DJANGO_USER_GID=1000
# Path to to mount as the directory for static data. Must be served by a webserver on the /static path # 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 DJANGO_STATIC_VOL=/path/to/static/root