This repository has been archived on 2024-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
flow-packer/files/gitea/dynamic_git.yaml

28 lines
550 B
YAML

---
http:
routers:
gitea:
entryPoints:
- "https"
rule: "Host(`${GITEA_DOMAIN}`)"
service: "git"
tls:
certResolver: resolver
services:
git:
loadBalancer:
servers:
- url: "http://${GITEA_CONTAINER_IPV4_ADDRESS}:${GITEA_HTTP_PORT}/"
tcp:
routers:
gitSSH:
entryPoints:
- "gitSSH"
rule: "HostSNI(`*`)"
service: "gitSSH"
services:
gitSSH:
loadBalancer:
servers:
- address: "${GITEA_CONTAINER_IPV4_ADDRESS}:${GITEA_SSH_PORT}"