# # Basic configuration # # Change the values of the variables below to match your environment! # Default values are commented out. # ### Dwengo ### # Port the backend will listen on #DWENGO_PORT=3000 # The hostname or IP address of the remote learning content API. #DWENGO_LEARNING_CONTENT_REPO_API_BASE_URL=https://dwengo.org/backend/api # The default fallback language. #DWENGO_FALLBACK_LANGUAGE=nl # Whether running in production mode or not. Possible values are "prod" or "dev". #DWENGO_RUN_MODE=dev # ! Change this! The hostname or IP address of the database # If running your stack in docker, this should use the docker service name. DWENGO_DB_HOST=domain-or-ip-of-database # The port of the database. #DWENGO_DB_PORT=5432 # The name of the database. #DWENGO_DB_NAME=dwengo # ! Change this! The username of the database user. DWENGO_DB_USERNAME=username # ! Change this! The password of the database user. DWENGO_DB_PASSWORD=password # Whether the database scheme needs to be updated. # Set this to true when the database scheme needs to be updated. In that case, take a backup first. #DWENGO_DB_UPDATE=false # The prefix used for custom user content. #DWENGO_DB_CONTENT_PREFIX=u_ # ! Change this! The external URL for student authentication. Should be reachable by the client. # E.g. https://sel2-1.ugent.be/idp/realms/student DWENGO_AUTH_STUDENT_URL=http://hostname/idp/realms/student # ! Change this! The client ID for student authentication. DWENGO_AUTH_STUDENT_CLIENT_ID=dwengo # ! Change this! The internal URL for retrieving the JWKS for student authentication. # Should be reachable by the backend. If running your stack in docker, this should use the docker service name. # E.g. http://idp:7080/realms/student/protocol/openid-connect/certs DWENGO_AUTH_STUDENT_JWKS_ENDPOINT=http://hostname/realms/student/protocol/openid-connect/certs # ! Change this! The external URL for teacher authentication. Should be reachable by the client. # E.g. https://sel2-1.ugent.be/idp/realms/teacher DWENGO_AUTH_TEACHER_URL=http://hostname/idp/realms/teacher # ! Change this! The client ID for teacher authentication. DWENGO_AUTH_TEACHER_CLIENT_ID=dwengo # ! Change this! The internal URL for retrieving the JWKS for teacher authentication. # Should be reachable by the backend. If running your stack in docker, this should use the docker service name. # E.g. http://idp:7080/realms/teacher/protocol/openid-connect/certs DWENGO_AUTH_TEACHER_JWKS_ENDPOINT=http://hostname/realms/teacher/protocol/openid-connect/certs # The IDP audience #DWENGO_AUTH_AUDIENCE=account # Allowed origins for CORS requests. Separate multiple origins with a comma. #DWENGO_CORS_ALLOWED_ORIGINS= # Allowed headers for CORS requests. Separate multiple headers with a comma. #DWENGO_CORS_ALLOWED_HEADERS=Authorization,Content-Type ### Advanced configuration ### # The logging level. Possible values are "debug", "info", "warn", "error". #DWENGO_LOGGING_LEVEL=info # The address of the Loki instance, a log aggregation system. # If running your stack in docker, this should use the docker service name. #DWENGO_LOGGING_LOKI_HOST=http://localhost:3102