Documenteer omgevingsvariabelen in .env.example en herstructureer de andere .examples om gebruik te maken van dezelfde structuur.
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
#
|
|
# Development environment configuration
|
|
#
|
|
# You probably don't need to change these values, as this configuration takes
|
|
# the docker services and their default ports into account.
|
|
#
|
|
|
|
### Dwengo ###
|
|
|
|
#DWENGO_PORT=3000
|
|
#DWENGO_LEARNING_CONTENT_REPO_API_BASE_URL=https://dwengo.org/backend/api
|
|
#DWENGO_FALLBACK_LANGUAGE=nl
|
|
#DWENGO_RUN_MODE=dev
|
|
|
|
DWENGO_DB_HOST=localhost
|
|
DWENGO_DB_PORT=5431
|
|
#DWENGO_DB_NAME=dwengo
|
|
DWENGO_DB_USERNAME=postgres
|
|
DWENGO_DB_PASSWORD=postgres
|
|
DWENGO_DB_UPDATE=true
|
|
#DWENGO_DB_CONTENT_PREFIX=u_
|
|
|
|
DWENGO_AUTH_STUDENT_URL=http://localhost:7080/realms/student
|
|
DWENGO_AUTH_STUDENT_CLIENT_ID=dwengo
|
|
DWENGO_AUTH_STUDENT_JWKS_ENDPOINT=http://localhost:7080/realms/student/protocol/openid-connect/certs
|
|
DWENGO_AUTH_TEACHER_URL=http://localhost:7080/realms/teacher
|
|
DWENGO_AUTH_TEACHER_CLIENT_ID=dwengo
|
|
DWENGO_AUTH_TEACHER_JWKS_ENDPOINT=http://localhost:7080/realms/teacher/protocol/openid-connect/certs
|
|
#DWENGO_AUTH_AUDIENCE=account
|
|
|
|
DWENGO_CORS_ALLOWED_ORIGINS=http://localhost:5173
|
|
#DWENGO_CORS_ALLOWED_HEADERS=Authorization,Content-Type
|
|
|
|
### Advanced configuration ###
|
|
|
|
DWENGO_LOGGING_LEVEL=debug
|
|
#DWENGO_LOGGING_LOKI_HOST=http://localhost:3102
|