box: stand up ts-reverse-proxy for immich
This commit is contained in:
parent
3a22d093da
commit
7cbada35ba
@ -14,7 +14,6 @@
|
||||
|
||||
immich-module = {
|
||||
url = "github:jvanbruegge/nixpkgs/c0ee4c1770aa1ef998c977c4cc653a07ec95d9bf";
|
||||
inputs.nixpkgs.follows = "unstable";
|
||||
};
|
||||
|
||||
sops-nix = {
|
||||
|
@ -259,6 +259,7 @@ in
|
||||
services = {
|
||||
immich = {
|
||||
enable = true;
|
||||
port = 3301;
|
||||
mediaLocation = "/media/pictures/immich";
|
||||
machine-learning.enable = true;
|
||||
package = inputs.immich-module.legacyPackages."${pkgs.system}".pkgs.immich;
|
||||
@ -293,6 +294,12 @@ in
|
||||
reversePort = 80;
|
||||
reverseIP = "10.6.0.166";
|
||||
};
|
||||
"immich-service" = {
|
||||
enable = true;
|
||||
reverseName = "immich";
|
||||
reversePort = config.services.immich.port;
|
||||
reverseIP = config.services.immich.host;
|
||||
};
|
||||
};
|
||||
};
|
||||
restic = {
|
||||
@ -1089,7 +1096,7 @@ in
|
||||
enable = true;
|
||||
#dataDir = "/db/postgres";
|
||||
|
||||
package = pkgs.postgresql_15;
|
||||
package = pkgs.postgresql_16;
|
||||
|
||||
enableTCPIP = true;
|
||||
authentication = pkgs.lib.mkOverride 14 ''
|
||||
|
Loading…
Reference in New Issue
Block a user