traefik: init gitssh
All checks were successful
/ check (push) Successful in 32s
All checks were successful
/ check (push) Successful in 32s
This commit is contained in:
parent
6e7fc97959
commit
9eea38d000
1 changed files with 14 additions and 0 deletions
|
@ -12,6 +12,16 @@
|
||||||
services.traefik = {
|
services.traefik = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dynamicConfigOptions = {
|
dynamicConfigOptions = {
|
||||||
|
tcp = {
|
||||||
|
routers = {
|
||||||
|
gitssh = {
|
||||||
|
rule = "HostSNI(`*`)";
|
||||||
|
entrypoints = ["gitssh"];
|
||||||
|
service = "gitssh";
|
||||||
|
tls.passthrough = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
http = {
|
http = {
|
||||||
middlewares.authelia = {
|
middlewares.authelia = {
|
||||||
forwardauth = {
|
forwardauth = {
|
||||||
|
@ -107,6 +117,7 @@
|
||||||
grafana.loadBalancer.servers = [{url = "http://100.121.201.47:3100";}];
|
grafana.loadBalancer.servers = [{url = "http://100.121.201.47:3100";}];
|
||||||
hedgedoc.loadBalancer.servers = [{url = "http://100.121.201.47:3300";}];
|
hedgedoc.loadBalancer.servers = [{url = "http://100.121.201.47:3300";}];
|
||||||
vaultwarden.loadBalancer.servers = [{url = "http://100.121.201.47:8222";}];
|
vaultwarden.loadBalancer.servers = [{url = "http://100.121.201.47:8222";}];
|
||||||
|
gitssh.loadBalancer.servers = [{url = "tcp://100.121.201.47:2222";}];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -125,6 +136,9 @@
|
||||||
web = {
|
web = {
|
||||||
address = ":80";
|
address = ":80";
|
||||||
};
|
};
|
||||||
|
gitssh = {
|
||||||
|
address = ":2222";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
metrics = {
|
metrics = {
|
||||||
prometheus = {
|
prometheus = {
|
||||||
|
|
Loading…
Reference in a new issue