mirror of
https://codeberg.org/gothub/gothub
synced 2024-12-06 19:16:24 +01:00
add the envvars to compose.yml
This commit is contained in:
+11
@@ -6,6 +6,17 @@ services:
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- DOCKER=true
|
||||
- GOTHUB_SETUP_COMPLETE=false
|
||||
- GOTHUB_IP_LOGGED=true/false
|
||||
- GOTHUB_REQUEST_URL_LOGGED=true/false
|
||||
- GOTHUB_USER_AGENT_LOGGED=true/false
|
||||
- GOTHUB_DIAGNOSTIC_INFO_LOGGED=true/false
|
||||
- GOTHUB_INSTANCE_PRIVACY_POLICY=https://your.website/privacy-policy
|
||||
- GOTHUB_INSTANCE_COUNTRY=
|
||||
- GOTHUB_INSTANCE_PROVIDER=
|
||||
- GOTHUB_INSTANCE_CLOUDFLARE=true/false
|
||||
healthcheck:
|
||||
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/version || exit 1
|
||||
interval: 30s
|
||||
|
||||
Reference in New Issue
Block a user