diff --git a/.dev.env b/.dev.env index 4995c47b..9f77c55d 100644 --- a/.dev.env +++ b/.dev.env @@ -21,5 +21,4 @@ DJANGO_CAS_URL_PREFIX="" # URL prefix for the CAS server. Should be empty for de DJANGO_CAS_PORT=8080 # Port for the CAS server. Should be 8080 if DJANGO_DOMAIN_NAME is localhost DJANGO_DB_ENGINE=django.db.backends.sqlite3 # Database engine DJANGO_REDIS_HOST=${REDIS_IP} # Redis configuration -DJANGO_REDIS_PORT=${REDIS_PORT} -``` \ No newline at end of file +DJANGO_REDIS_PORT=${REDIS_PORT} \ No newline at end of file diff --git a/.env b/.env index 0d3f97be..301cf429 100644 --- a/.env +++ b/.env @@ -1,13 +1,24 @@ +# Default values PUID=1000 PGID=1000 -TZ="Europe/Brussels" +TZ=Europe/Brussels -DATADIR="./data" +# File directories +DATADIR=./data # Directory to store container data +BACKEND_DIR=./backend +FRONTEND_DIR=./frontend +SSL_DIR="${DATADIR}/nginx/ssl" # Directory to store SSL certificates -BACKEND_DIR="./backend" - -FRONTEND_DIR="./frontend" - -REDIS_IP="192.168.90.10" +# Redis +REDIS_IP=192.168.90.10 REDIS_PORT=6379 -REDIS_PASSWORD="oqOsNX1PXGOX5soJtKkw" \ No newline at end of file + +# Django +DJANGO_SECRET_KEY=tetet +DJANGO_DEBUG=True # Django debug mode +DJANGO_DOMAIN_NAME=localhost # Domain name for the Django server +DJANGO_CAS_URL_PREFIX="" # URL prefix for the CAS server. Should be empty for development +DJANGO_CAS_PORT=8080 # Port for the CAS server. Should be 8080 if DJANGO_DOMAIN_NAME is localhost +DJANGO_DB_ENGINE=django.db.backends.sqlite3 # Database engine +DJANGO_REDIS_HOST=${REDIS_IP} # Redis configuration +DJANGO_REDIS_PORT=${REDIS_PORT} \ No newline at end of file