25 行
791 B
YAML
25 行
791 B
YAML
version: "3"
|
|
services:
|
|
gothub:
|
|
image: codeberg.org/gothub/gothub:latest
|
|
# image: codeberg.org/gothub/gothub:dev # Dev branch
|
|
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
|
|
timeout: 5s
|
|
retries: 2
|