-
-
Notifications
You must be signed in to change notification settings - Fork 0
App Settings
Kim Oliver Drechsel edited this page Jul 30, 2024
·
19 revisions
The application can be configured using the following environment variables:
To configure a deployment, see the deployment settings.
See Quickstart to learn how to run the application.
Note
Settings without a default value are required.
Key | Type | Description | Default value |
---|---|---|---|
GIT_ACCESS_TOKEN |
string | Access token with repo scope (required for private repositories) |
|
WEBHOOK_SECRET |
string | Secret for authentication to the webhook | |
LOG_LEVEL |
string | Log level of the app. Possible values: debug , info , warning , error
|
INFO |
HTTP_PORT |
number | Port on which the application will listen for incoming webhooks | 80 |
SKIP_TLS_VERIFICATION |
boolean | Skip TLS verification when cloning repositories. | false |
You can set the settings directly in the docker-compose.yml
file with the environment
option
or in a separate .env
file with the env_file
option.
Both options can be used at the same time.
Example with env_file
option:
services:
app:
env_file:
- .env
The settings in the .env
file should be in the format KEY=VALUE
or KEY: VALUE
and separated by a newline.
Example .env
file:
GIT_ACCESS_TOKEN: xxx
WEBHOOK_SECRET: xxx
Example with environment
option:
services:
app:
environment:
GIT_ACCESS_TOKEN: xxx
WEBHOOK_SECRET: xxx