docs: Omgevingsvariabelen
Documenteer omgevingsvariabelen in .env.example en herstructureer de andere .examples om gebruik te maken van dezelfde structuur.
This commit is contained in:
		
							parent
							
								
									827b652b68
								
							
						
					
					
						commit
						a5fd3c0612
					
				
					 4 changed files with 110 additions and 41 deletions
				
			
		|  | @ -1,15 +1,24 @@ | |||
| # | ||||
| # Basic configuration | ||||
| # 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_PORT=3000 # The port the backend will listen on | ||||
| ### 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 | ||||
| 
 | ||||
| # Auth | ||||
| #DWENGO_DB_CONTENT_PREFIX=u_ | ||||
| 
 | ||||
| DWENGO_AUTH_STUDENT_URL=http://localhost:7080/realms/student | ||||
| DWENGO_AUTH_STUDENT_CLIENT_ID=dwengo | ||||
|  | @ -17,12 +26,12 @@ DWENGO_AUTH_STUDENT_JWKS_ENDPOINT=http://localhost:7080/realms/student/protocol/ | |||
| 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 | ||||
| 
 | ||||
| # Allow Vite dev-server to access the backend (for testing purposes). Don't forget to remove this in production! | ||||
| DWENGO_CORS_ALLOWED_ORIGINS=http://localhost:5173 | ||||
| #DWENGO_CORS_ALLOWED_HEADERS=Authorization,Content-Type | ||||
| 
 | ||||
| # | ||||
| # Advanced configuration | ||||
| # | ||||
| ### Advanced configuration ### | ||||
| 
 | ||||
| # LOKI_HOST=http://localhost:9001      # The address of the Loki instance, used for logging | ||||
| DWENGO_LOGGING_LEVEL=debug | ||||
| #DWENGO_LOGGING_LOKI_HOST=http://localhost:3102 | ||||
|  |  | |||
		Reference in a new issue