Compare commits

...

2 commits

Author SHA1 Message Date
b55cc65349
home: add forgejo ssh
All checks were successful
flake check / check (push) Successful in 7m24s
fmt check / check (push) Successful in 40s
2023-12-29 14:32:58 -05:00
083b08b789
traefik: fix gitssh 2023-12-29 14:27:17 -05:00
2 changed files with 18 additions and 11 deletions

View file

@ -16,10 +16,13 @@
routers = { routers = {
gitssh = { gitssh = {
rule = "HostSNI(`*`)"; rule = "HostSNI(`*`)";
entrypoints = ["gitssh"]; entrypoints = ["ssh"];
service = "gitssh"; service = "gitssh";
}; };
}; };
services = {
gitssh.loadBalancer.servers = [{address = "100.121.201.47:2222";}];
};
}; };
http = { http = {
middlewares = { middlewares = {
@ -204,7 +207,6 @@
}; };
}; };
services = { services = {
gitssh.loadBalancer.servers = [{url = "tcp://100.121.201.47:2222";}];
uptime-kuma.loadBalancer.servers = [{url = "http://100.104.42.96:4000";}]; uptime-kuma.loadBalancer.servers = [{url = "http://100.104.42.96:4000";}];
gotify.loadBalancer.servers = [{url = "http://100.104.42.96:3000";}]; gotify.loadBalancer.servers = [{url = "http://100.104.42.96:3000";}];
conduit.loadBalancer.servers = [{url = "http://100.121.201.47:6167";}]; conduit.loadBalancer.servers = [{url = "http://100.121.201.47:6167";}];
@ -236,7 +238,7 @@
web = { web = {
address = ":80"; address = ":80";
}; };
gitssh = { ssh = {
address = ":2222"; address = ":2222";
}; };
}; };

View file

@ -65,23 +65,23 @@
enable = true; enable = true;
extraConfig = '' extraConfig = ''
Host sakura Host sakura
HostName 100.121.201.47 Hostname 100.121.201.47
User notoh User notoh
IdentityFile ~/.ssh/sakura IdentityFile ~/.ssh/sakura
Host kariru Host kariru
HostName 100.126.229.95 Hostname 100.126.229.95
User notoh User notoh
IdentityFile ~/.ssh/kariru IdentityFile ~/.ssh/kariru
Host yuki Host yuki
HostName 100.108.113.89 Hostname 100.108.113.89
User notoh User notoh
IdentityFile ~/.ssh/yuki IdentityFile ~/.ssh/yuki
Host arashi Host arashi
HostName 100.94.214.100 Hostname 100.94.214.100
User notoh User notoh
IdentityFile ~/.ssh/arashi IdentityFile ~/.ssh/arashi
Host sora Host sora
HostName 100.104.42.96 Hostname 100.104.42.96
User notoh User notoh
IdentityFile ~/.ssh/sora IdentityFile ~/.ssh/sora
Host daphbot Host daphbot
@ -89,19 +89,24 @@
User root User root
IdentityFile ~/.ssh/daphbot IdentityFile ~/.ssh/daphbot
Host tsuru Host tsuru
HostName 100.82.146.40 Hostname 100.82.146.40
User notoh User notoh
IdentityFile ~/.ssh/tsuru IdentityFile ~/.ssh/tsuru
Host haru Host haru
HostName 100.73.192.45 Hostname 100.73.192.45
User notoh User notoh
IdentityFile ~/.ssh/haru IdentityFile ~/.ssh/haru
Host basegbot Host basegbot
HostName 100.83.81.116 HostName 100.83.81.116
User basegbot User basegbot
IdentityFile ~/.ssh/basegbot IdentityFile ~/.ssh/basegbot
Host git.flake.sh
Hostname git.flake.sh
User notohh
IdentityFile ~/.ssh/notohh-forgejo
Port 2222
Host rpi4 Host rpi4
HostName 100.92.145.147 Hostname 100.92.145.147
User notoh User notoh
IdentityFile ~/.ssh/rpi4 IdentityFile ~/.ssh/rpi4
Host pve Host pve