2023-05-13 06:44:40 +05:30
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
gothub:
|
|
|
|
image: codeberg.org/gothub/gothub:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "1024:3000"
|
|
|
|
environment:
|
|
|
|
- DOCKER=true
|
2023-05-29 14:08:34 +05:30
|
|
|
- GOTHUB_SETUP_COMPLETE=true
|
|
|
|
- GOTHUB_PROXYING_ENABLED=true
|
|
|
|
- GOTHUB_IP_LOGGED=false
|
|
|
|
- GOTHUB_REQUEST_URL_LOGGED=false
|
|
|
|
- GOTHUB_USER_AGENT_LOGGED=false
|
|
|
|
- GOTHUB_DIAGNOSTIC_INFO_LOGGED=false
|
|
|
|
- GOTHUB_INSTANCE_PRIVACY_POLICY=https://projectsegfau.lt/legal/privacy-policy
|
|
|
|
- GOTHUB_INSTANCE_COUNTRY={{country}}
|
|
|
|
- GOTHUB_INSTANCE_PROVIDER={{isp}}
|
|
|
|
- GOTHUB_INSTANCE_CLOUDFLARE=false
|
2023-05-13 06:44:40 +05:30
|
|
|
healthcheck:
|
|
|
|
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/version || exit 1
|
|
|
|
interval: 30s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 2
|