This repository was archived by the owner on May 3, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Lucca Greschner edited this page May 5, 2023
·
5 revisions
The backend application can be configured through multiple configuration types.
- Command line flags
- Environment variables
- YAML-Configuration file (1. Default configuration)
Note: 1 is most important
| YAML-Parameter | Environment variable | Command line flag | Default | Possible values |
|---|---|---|---|---|
| logging.log_level | EXCUBITOR_LOGGING_LOG-LEVEL | N/A | INFO | TRACE, DEBUG, INFO, WARN, ERROR, FATAL |
| logging.method | EXCUBITOR_LOGGING_METHOD | N/A | CONSOLE | CONSOLE, FILE, HYBRID |
| http.host | EXCUBITOR_HTTP_HOST | --host | 0.0.0.0 | Any valid hostname |
| http.port | EXCUBITOR_HTTP_PORT | --port | 8080 | 1-65535 |
| http.cors.allowed_origins | EXCUBITOR_HTTP_CORS_ALLOWED-ORIGINS | N/A | ["*"] | Array of possible CORS origins |
| http.cors.allowed_methods | EXCUBITOR_HTTP_CORS_ALLOWED-METHODS | N/A | ["GET","POST"] | Array of HTTP methods |
| http.cors.allowed_headers | EXCUBITOR_HTTP_CORS_ALLOWED-HEADERS | N/A | ["Origin", "Content-Type", "Authorization"] | Array of HTTP headers |
| http.auth.jwt.access_token_secret | EXCUBITOR_HTTP_AUTH_JWT_ACCESS-TOKEN-SECRET | N/A | Empty string | JWT secret |
| http.auth.jwt.refresh_token_secret | EXCUBITOR_HTTP_AUTH_JWT_REFRESH-TOKEN-SECRET | N/A | Empty string | JWT secret |
- Home
- Backend Documentation
- Frontend Documentation
- Protocol Documentation
- Reflection