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