Environment Variables
The following environment variables need to be configured for the application:
COURSE_URL : The URL of the course service. Default: ${COURSE_URL}
KEY_CLOAK_DB_URL : The database URL for Keycloak. Default: ${KEY_CLOAK_DB_URL}
KEY_CLOAK_CLIENT_ID : The client ID used for Keycloak authentication. Default: ${KEY_CLOAK_CLIENT_ID}
KEY_CLOAK_USERNAME : The username used for Keycloak authentication. Default: ${KEY_CLOAK_USERNAME}
KEY_CLOAK_PASSWORD : The password used for Keycloak authentication. Default: ${KEY_CLOAK_PASSWORD}
KEY_CLOAK_TOKEN_ENDPOINT : The token endpoint URL for Keycloak. Default: ${KEY_CLOAK_TOKEN_ENDPOINT}
KEY_CLOAK_ISSUER_URI : The issuer URI for Keycloak. Default: ${KEY_CLOAK_ISSUER_URI}
KEY_CLOAK_DB_PASSWORD : The database password for Keycloak. Default: ${KEY_CLOAK_DB_PASSWORD}
KEY_CLOAK_DB_USERNAME : The database username for Keycloak. Default: ${KEY_CLOAK_DB_USERNAME}
KEY_CLOAK_USERS_DB : The name of the Keycloak users database. Default: ${KEY_CLOAK_USERS_DB}
KEY_CLOAK_CORS_ALLOWED_ORIGINS : The allowed origins for CORS in Keycloak. Default: ${KEY_CLOAK_CORS_ALLOWED_ORIGINS}
KEY_CLOAK_COURSE_URL : The course URL for Keycloak integration. Default: ${KEY_CLOAK_COURSE_URL}
DB_USER : The database user. Default: ${DB_USER}
DB_USERNAME : The database username. Default: ${DB_USERNAME}
DB_PASSWORD : The database password. Default: ${DB_PASSWORD}
DB_URL : The database connection URL. Default: ${DB_URL}
CORS_ALLOWED_ORIGINS : The allowed origins for CORS. Default: ${CORS_ALLOWED_ORIGINS}
Notes
Make sure to configure these environment variables either through an .env file, directly in your Docker Compose file, or in the environment where your container is running.