From 1a5fcea90e07511287654f9e266eed0b8cf33a15 Mon Sep 17 00:00:00 2001 From: "Lockszmith (runtipi@kateryna)" Date: Wed, 4 Dec 2024 21:05:15 -0500 Subject: [PATCH] Add forgejo --- forgejo/docker-compose.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 forgejo/docker-compose.yml diff --git a/forgejo/docker-compose.yml b/forgejo/docker-compose.yml new file mode 100644 index 0000000..00a7e2a --- /dev/null +++ b/forgejo/docker-compose.yml @@ -0,0 +1,18 @@ +services: + forgejo: + environment: + USER_UID: "${SZ_USER_UID}" + USER_GID: "${SZ_USER_GID}" + + FORGEJO__server__DOMAIN: "code.${ALT_ROOT_DOMAIN}" + FORGEJO__server__ROOT_URL: "https://code.${ALT_ROOT_DOMAIN}" + FORGEJO__server__SSH_DOMAIN: "code.${ALT_ROOT_DOMAIN}" + + labels: + # Websecure + traefik.http.routers.forgejo-more.rule: Host(`code.${ROOT_DOMAIN}`)${APP_ROUTE_OPTIONAL:-} + traefik.http.routers.forgejo-more.entrypoints: websecure + traefik.http.routers.forgejo-more.service: forgejo + # traefik.http.routers.forgejo-more.middlewares: authentik_sysmgr@file + traefik.http.routers.forgejo-more.tls: true + traefik.http.routers.forgejo-more.tls.certresolver: myresolver