From 08a5f97fd4315a5b20076572345fb60fe7fdd92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sat, 23 Nov 2024 17:05:55 +0100 Subject: [PATCH] Add user ID and GID to example env file --- .env.example | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index d92e9d3..cb5a0e9 100644 --- a/.env.example +++ b/.env.example @@ -2,6 +2,12 @@ # 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 DJANGO_STATIC_VOL=/path/to/static/root @@ -29,4 +35,4 @@ DJANGO_MEDIA_URL=media.lab.example.com/ # Set this password if you want to use a custom postgres password. The db should be confined inside the docker network. # Using the standard PW is therefore not a problem -# DJANGO_POSTGRESQL_PW=myfancynewpassword123donotsharemewithanyone \ No newline at end of file +# DJANGO_POSTGRESQL_PW=myfancynewpassword123donotsharemewithanyone