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

36 lines
964 B
Plaintext
Raw Normal View History

2023-11-06 10:39:27 +08:00
# {{ ansible_managed }}
services:
gothub:
2024-08-11 21:41:34 +08:00
image: codeberg.org/gothub/gothub:latest
2023-11-06 10:39:27 +08:00
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:
2024-08-11 21:41:34 +08:00
- 8900:3000
2023-11-06 10:39:27 +08:00
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