mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Setup syncthing
This commit is contained in:
parent
2738379a72
commit
bfa2b12c43
2 changed files with 26 additions and 13 deletions
|
|
@ -73,17 +73,24 @@ in {
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
firewall.allowedTCPPorts = [
|
firewall = {
|
||||||
22 # ssh
|
allowedTCPPorts = [
|
||||||
80 # http to local Nginx
|
22 # ssh
|
||||||
443 # https to local Nginx
|
80 # http to local Nginx
|
||||||
3000 # PsiTransfer in oci-container
|
443 # https to local Nginx
|
||||||
8080 # Tandoor in docker compose
|
3000 # PsiTransfer in oci-container
|
||||||
8888 # Atuin
|
8080 # Tandoor in docker compose
|
||||||
8090 # Wallabag in docker compose
|
8384 # Syncthing gui
|
||||||
13378 # Audiobookshelf in oci-container
|
8888 # Atuin
|
||||||
];
|
8090 # Wallabag in docker compose
|
||||||
# firewall.allowedUDPPorts = [ ... ];
|
13378 # Audiobookshelf in oci-container
|
||||||
|
22000 # Syncthing transfers
|
||||||
|
];
|
||||||
|
allowedUDPPorts = [
|
||||||
|
21027 # Syncthing discovery
|
||||||
|
22000 # Syncthing transfers
|
||||||
|
];
|
||||||
|
};
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# firewall.enable = false;
|
# firewall.enable = false;
|
||||||
|
|
||||||
|
|
@ -404,6 +411,12 @@ in {
|
||||||
"/orico/jellyfin/staging/downloaded-files"
|
"/orico/jellyfin/staging/downloaded-files"
|
||||||
"/var/backup/postgresql"
|
"/var/backup/postgresql"
|
||||||
];
|
];
|
||||||
|
syncthing = {
|
||||||
|
enable = true;
|
||||||
|
dataDir = "/orico/syncthing";
|
||||||
|
openDefaultPorts = true;
|
||||||
|
guiAddress = "0.0.0.0:8384";
|
||||||
|
};
|
||||||
tandoor-recipes = {
|
tandoor-recipes = {
|
||||||
enable = true;
|
enable = true;
|
||||||
address = "0.0.0.0";
|
address = "0.0.0.0";
|
||||||
|
|
|
||||||
|
|
@ -81,8 +81,8 @@ sops:
|
||||||
dDQybkwzOUtraGk1U21VeHBkNUpLeGsKgBP+mn2AZmKf6v15JnOE4YeSUpsKMAgP
|
dDQybkwzOUtraGk1U21VeHBkNUpLeGsKgBP+mn2AZmKf6v15JnOE4YeSUpsKMAgP
|
||||||
DbbDSJBf3zgwcUECglSB9pM09ZkxM/WA8+sBPNt7/pepUfpKWfoiIA==
|
DbbDSJBf3zgwcUECglSB9pM09ZkxM/WA8+sBPNt7/pepUfpKWfoiIA==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
lastmodified: "2024-06-15T21:02:47Z"
|
lastmodified: "2024-09-11T17:22:16Z"
|
||||||
mac: ENC[AES256_GCM,data:vZie4+27bytMtLHLO3cR5X6XsvVjoLWXbZ9gSyeJAg//TYDdojfCKtLatBb22oVyjjeoFKKqcHwVPv888Kpc8SwFIY7C0YxgmFbHXZMkUk4EWsolGPJ4V3p2GdWSRJkn/B9fM0TjvWiHASvtDNUNw03Rs6PT8fP0YTSzomKGR+U=,iv:5UY3+wj8h/uW/l3gkBPub+bWWt2kKabH5jErjmNp4sM=,tag:2DrAzNOS+dd3bNCs42PPbw==,type:str]
|
mac: ENC[AES256_GCM,data:WbuN9UpP0OP69ta29VW2LlCFfyTWI3v8IiwUu3tLOxtY3gjdJLZTpaG2hBR985qjLYL3MT7eR7eWp4p99DAKupVBvA6tJl8/+N9+0W/dapcec+qv7u9wRHcFjP9wtggq66vUdGqH8IIHYuGlIhAvCbDouoXuLoFIcB2i2lYNB4Q=,iv:u+KsBgHxLgwSgFLYtY0F6HjCUbSCvNAatIIwrCGGyJg=,tag:bHO4vovTLPVK2vsQvliwzQ==,type:str]
|
||||||
pgp: []
|
pgp: []
|
||||||
unencrypted_suffix: _unencrypted
|
unencrypted_suffix: _unencrypted
|
||||||
version: 3.8.1
|
version: 3.8.1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue