37 lines
982 B
Django/Jinja
37 lines
982 B
Django/Jinja
# {{ ansible_managed }}
|
|
version: '3.3'
|
|
services:
|
|
gothub:
|
|
image: codeberg.org/gothub/gothub:latest
|
|
container_name: gothub
|
|
security_opt:
|
|
- no-new-privileges
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Asia/Singapore
|
|
- DOCKER=true
|
|
- GOTHUB_SETUP_COMPLETE=true
|
|
- GOTHUB_PROXYING_ENABLED=false
|
|
- GOTHUB_IP_LOGGED=false
|
|
- GOTHUB_REQUEST_URL_LOGGED=false
|
|
- GOTHUB_USER_AGENT_LOGGED=false
|
|
- GOTHUB_DIAGNOSTIC_INFO_LOGGED=false
|
|
- GOTHUB_INSTANCE_PRIVACY_POLICY=https://about.opnxng.com/privacy/
|
|
- GOTHUB_INSTANCE_COUNTRY=Singapore
|
|
- GOTHUB_INSTANCE_PROVIDER=Oracle
|
|
- GOTHUB_INSTANCE_CLOUDFLARE=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
|
|
restart: unless-stopped
|
|
ports:
|
|
- '8900:3000'
|
|
networks:
|
|
- gothub
|
|
|
|
networks:
|
|
gothub:
|
|
name: gothub |