2022-11-18 15:08:16 +00:00
|
|
|
---
|
|
|
|
http:
|
|
|
|
routers:
|
|
|
|
gitea:
|
|
|
|
entryPoints:
|
|
|
|
- "https"
|
2023-02-12 20:59:55 +00:00
|
|
|
rule: "Host(`{{ .Forgejo.Subdomain }}.{{ .RootDomain }}`)"
|
2022-11-18 15:08:16 +00:00
|
|
|
service: "git"
|
|
|
|
tls:
|
|
|
|
certResolver: resolver
|
|
|
|
services:
|
|
|
|
git:
|
|
|
|
loadBalancer:
|
|
|
|
servers:
|
2023-02-12 20:59:55 +00:00
|
|
|
- url: "http://{{ .Forgejo.ContainerIpv4Address }}:{{ .Forgejo.HttpPort }}/"
|
2022-11-18 15:08:16 +00:00
|
|
|
|
|
|
|
tcp:
|
|
|
|
routers:
|
|
|
|
gitSSH:
|
|
|
|
entryPoints:
|
|
|
|
- "gitSSH"
|
|
|
|
rule: "HostSNI(`*`)"
|
|
|
|
service: "gitSSH"
|
|
|
|
services:
|
|
|
|
gitSSH:
|
|
|
|
loadBalancer:
|
|
|
|
servers:
|
2023-02-12 20:59:55 +00:00
|
|
|
- address: "{{ .Forgejo.ContainerIpv4Address }}:{{ .Forgejo.SshPort }}"
|