[+] Template: Gitea

This commit is contained in:
TheH2SO4 2023-11-03 12:04:01 +01:00 committed by GitHub
parent 126b2dc65b
commit 72fe24d98e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,22 @@
# documentation: https://docs.gitea.com
# slogan: Gitea is a self-hosted, lightweight Git service, offering version control, collaboration, and code hosting.
# tags: version control, collaboration, code, hosting, lightweight
services:
gitea:
image: gitea/gitea:latest
environment:
- SERVICE_FQDN_GITEA
- USER_UID=1000
- USER_GID=1000
volumes:
- gitea-data:/var/lib/gitea
- gitea-timezone:/etc/timezone:ro
- gitea-localtime:/etc/localtime:ro
labels:
- "traefik.http.services.gitea-websecure.loadbalancer.server.port=3000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000"]
interval: 2s
timeout: 10s
retries: 15