Add syncthing
This commit is contained in:
parent
355bd0593d
commit
34e8027554
5 changed files with 74 additions and 21 deletions
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue