28 lines
550 B
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}"
|