Add syncthing

This commit is contained in:
Yan Lin 2025-09-07 03:28:32 +02:00
parent 355bd0593d
commit 34e8027554
5 changed files with 74 additions and 21 deletions

View file

@ -81,6 +81,16 @@
}];
};
};
syncthing = {
rule = "Host(`syncthing.hs.yanlincs.com`)";
service = "syncthing";
tls = {
certResolver = "cloudflare";
domains = [{
main = "*.hs.yanlincs.com";
}];
};
};
};
services = {
homeassistant = {
@ -97,6 +107,13 @@
}];
};
};
syncthing = {
loadBalancer = {
servers = [{
url = "http://localhost:8384";
}];
};
};
};
};
};
@ -123,4 +140,4 @@
chmod 600 /run/secrets/traefik-env
'';
};
}
}