41 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| #
 | |
| # Production environment configuration
 | |
| #
 | |
| # Change the values of the variables below to match your production environment!
 | |
| # See .env.example for more information.
 | |
| #
 | |
| 
 | |
| ### Dwengo ###
 | |
| 
 | |
| DWENGO_PORT=3000
 | |
| #DWENGO_LEARNING_CONTENT_REPO_API_BASE_URL=https://dwengo.org/backend/api
 | |
| #DWENGO_FALLBACK_LANGUAGE=nl
 | |
| DWENGO_RUN_MODE=prod
 | |
| 
 | |
| DWENGO_DB_HOST=db
 | |
| DWENGO_DB_PORT=5432
 | |
| DWENGO_DB_NAME=postgres
 | |
| DWENGO_DB_USERNAME=postgres
 | |
| DWENGO_DB_PASSWORD=postgres
 | |
| DWENGO_DB_UPDATE=false
 | |
| #DWENGO_DB_CONTENT_PREFIX=u_
 | |
| 
 | |
| DWENGO_AUTH_STUDENT_URL=https://sel2-1.ugent.be/idp/realms/student
 | |
| DWENGO_AUTH_STUDENT_CLIENT_ID=dwengo
 | |
| DWENGO_AUTH_STUDENT_JWKS_ENDPOINT=http://idp:7080/idp/realms/student/protocol/openid-connect/certs # Name of the idp container
 | |
| DWENGO_AUTH_TEACHER_URL=https://sel2-1.ugent.be/idp/realms/teacher
 | |
| DWENGO_AUTH_TEACHER_CLIENT_ID=dwengo
 | |
| DWENGO_AUTH_TEACHER_JWKS_ENDPOINT=http://idp:7080/idp/realms/teacher/protocol/openid-connect/certs # Name of the idp container
 | |
| #DWENGO_AUTH_AUDIENCE=account
 | |
| 
 | |
| #DWENGO_CORS_ALLOWED_ORIGINS=
 | |
| #DWENGO_CORS_ALLOWED_HEADERS=Authorization,Content-Type
 | |
| 
 | |
| ### Advanced configuration ###
 | |
| 
 | |
| DWENGO_LOGGING_LEVEL=info
 | |
| DWENGO_LOGGING_LOKI_HOST=http://logging:3102
 | |
| 
 | |
| DWENGO_CACHE_HOST=cache
 | |
| #DWENGO_CACHE_PORT=11211
 | |
| DWENGO_CACHE_TTL=604800
 |