feat(odin): added syncyomi, minon sync.
This commit is contained in:
parent
5e66501370
commit
266dbeb854
2 changed files with 30 additions and 0 deletions
29
modules/servers/odin/syncyomi.nix
Normal file
29
modules/servers/odin/syncyomi.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{...}: {
|
||||
virtualisation.oci-containers.containers.syncyomi = {
|
||||
image = "ghcr.io/syncyomi/syncyomi:latest";
|
||||
autoStart = true;
|
||||
ports = [
|
||||
"8282:8282"
|
||||
];
|
||||
volumes = [
|
||||
"/var/lib/syncyomi:/config"
|
||||
];
|
||||
};
|
||||
|
||||
services.traefik.dynamicConfigOptions.http = {
|
||||
services.syncyomi.loadBalancer.servers = [
|
||||
{
|
||||
url = "http://localhost:8282";
|
||||
}
|
||||
];
|
||||
|
||||
routers.syncyomi = {
|
||||
rule = "Host(`syncyomi.cronyakatsuki.xyz`)";
|
||||
tls = {
|
||||
certResolver = "porkbun";
|
||||
};
|
||||
service = "syncyomi";
|
||||
entrypoints = "websecure";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue