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: