feat: gittea changes

This commit is contained in:
2025-12-16 13:43:17 +00:00
parent 0ecf24db47
commit be7ebc1725

View File

@@ -16,8 +16,20 @@ services:
homepage.group: "Version Control" homepage.group: "Version Control"
homepage.name: "Gitea" homepage.name: "Gitea"
homepage.icon: "gitea.png" homepage.icon: "gitea.png"
homepage.href: "http://gitea:3000" homepage.href: "https://gitea.${DOMAIN}"
homepage.description: "Git Server" homepage.description: "Git Server"
traefik.enable: "true"
# Web
traefik.http.routers.gitea.rule: "Host(`gitea.${DOMAIN}`)"
traefik.http.routers.gitea.entrypoints: "https"
traefik.http.routers.gitea.tls.certresolver: "cloudflare"
traefik.http.services.gitea.loadbalancer.server.url: "http://${HOST_IP}:3000"
# SSH
traefik.tcp.routers.gitea-ssh.rule: "HostSNI(`git.${DOMAIN}`)"
traefik.tcp.routers.gitea-ssh.entrypoints: "https"
traefik.tcp.routers.gitea-ssh.service: "gitea-ssh"
traefik.tcp.routers.gitea-ssh.tls.passthrough: "true"
traefik.tcp.services.gitea-ssh.loadbalancer.server.address: "${HOST_IP}:222"
networks: networks:
- gitea - gitea
volumes: volumes: