0
0
opnxng-deploy-playbook/templates/compose/gothub.yaml.j2

37 lines
982 B
Plaintext
Raw Normal View History

2023-11-06 10:39:27 +08:00
# {{ 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:
2023-11-10 05:28:42 +08:00
- gothub
2023-11-06 10:39:27 +08:00
networks:
2023-11-10 05:28:42 +08:00
gothub:
name: gothub