-
Notifications
You must be signed in to change notification settings - Fork 1
Application configuration
Stéphane Brunner edited this page Feb 21, 2024
·
4 revisions
The application will use two configuration files
This file will configure:
- The logging.
- The GitHub applications.
- The Database connections.
One advantage of this file is that we can use environment variables.
In this file, we can configure the profiles and some other little things
APPLICATION-CONFIG.md, JSON schema.
-
TEST_USERThe user for the test, should not be defined on production!. -
VISIBLE_ENTRY_POINTThe entry point for the application ('/' by default). -
GHCI_CONFIGURATIONThe path to the configuration file. -
GHCI_SESSION_SECRETThe secret used in the cookie session. -
GHCI_SESSION_SALTThe salt used in the cookie session. -
C2C_AUTH_GITHUB_REPOSITORYThe repository on witch one we the test for admin user. -
C2C_AUTH_GITHUB_SECRETThe secret for JWD encryption (required, with a length at least of 16). -
C2C_AUTH_GITHUB_CLIENT_IDThe client id for the GitHub application. -
C2C_AUTH_GITHUB_CLIENT_SECRETThe client secret for the GitHub application. -
C2C_PROMETHEUS_PORTThe port for the Prometheus metrics.