Setup Forgejo service + Migrate git configurations

This commit is contained in:
♥ Minnie ♥ 2024-06-03 21:05:04 +08:00
parent 115e2849cd
commit 9f8378df75
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
5 changed files with 40 additions and 5 deletions

View file

@ -2,6 +2,17 @@
{
services.traefik.dynamicConfigOptions.http.routers = {
forgejo = {
rule = "Host(`git.sajenim.dev`)";
entryPoints = [
"websecure"
];
middlewares = [
"geoblock"
];
service = "forgejo";
};
homarr = {
rule = "Host(`kanto.dev`)";
entryPoints = [

View file

@ -2,6 +2,9 @@
{
services.traefik.dynamicConfigOptions.http.services = {
forgejo.loadBalancer.servers = [
{ url = "http://192.168.1.102:3131"; }
];
homarr.loadBalancer.servers = [
{ url = "http://192.168.1.102:7575"; }
];