From 72fe24d98e9d09506733394ae9a80461cdf3b60b Mon Sep 17 00:00:00 2001 From: TheH2SO4 <69685986+theh2so4@users.noreply.github.com> Date: Fri, 3 Nov 2023 12:04:01 +0100 Subject: [PATCH] [+] Template: Gitea --- templates/compose/gitea.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 templates/compose/gitea.yaml diff --git a/templates/compose/gitea.yaml b/templates/compose/gitea.yaml new file mode 100644 index 000000000..99d7f424a --- /dev/null +++ b/templates/compose/gitea.yaml @@ -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