28 lines
519 B
YAML
28 lines
519 B
YAML
|
---
|
||
|
http:
|
||
|
routers:
|
||
|
gitea:
|
||
|
entryPoints:
|
||
|
- "https"
|
||
|
rule: "Host(`${GITEA_DOMAIN}`)"
|
||
|
service: "git"
|
||
|
tls: {}
|
||
|
services:
|
||
|
git:
|
||
|
loadBalancer:
|
||
|
servers:
|
||
|
- url: "http://${GITEA_CONTAINER_IPV4_ADDRESS}:${GITEA_HTTP_PORT}/"
|
||
|
|
||
|
tcp:
|
||
|
routers:
|
||
|
gitSSH:
|
||
|
entryPoints:
|
||
|
- "ssh"
|
||
|
rule: "HostSNI(`*`)"
|
||
|
service: "gitSSH"
|
||
|
services:
|
||
|
gitSSH:
|
||
|
loadBalancer:
|
||
|
servers:
|
||
|
- address: "${GITEA_CONTAINER_IPV4_ADDRESS}:${GITEA_SSH_PORT}"
|