From bdcdb1cb3d052c414755f400dbede14ab7cf4338 Mon Sep 17 00:00:00 2001 From: mr-forust Date: Sun, 7 Jun 2026 14:37:53 +0200 Subject: [PATCH] feat: router for gitea container registry (unproxied) --- gitea/compose.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gitea/compose.yaml b/gitea/compose.yaml index afd2725..54bf84c 100644 --- a/gitea/compose.yaml +++ b/gitea/compose.yaml @@ -36,7 +36,6 @@ services: # Prod Router - "traefik.http.routers.gitea.rule=Host(`gitea.forust.xyz`)" - "traefik.http.routers.gitea.entrypoints=websecure" - - "traefik.http.routers.gitea.tls.certresolver=letsencrypt" - "traefik.http.routers.gitea.tls=true" # Local Router - "traefik.http.routers.gitea-local.rule=Host(`gitea.workstation.internal`)" @@ -50,6 +49,11 @@ services: - "traefik.tcp.services.gitea.loadbalancer.server.port=22" - "traefik.tcp.routers.gitea.entrypoints=ssh" - "traefik.tcp.routers.gitea.rule=HostSNI(`*`)" + # Gitea container registry Router + - "traefik.http.routers.gitea-registry.rule=Host(`gcr.forust.xyz`) && PathPrefix(`/v2`)" + - "traefik.http.routers.gitea-registry.entrypoints=websecure" + - "traefik.http.routers.gitea-registry.tls.certresolver=letsencrypt" + - "traefik.http.routers.gitea-registry.tls=true" ports: - "2221:22" networks: