feat(immich): update typensense directory
This commit is contained in:
parent
8dfe9d217b
commit
f0299bb73a
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
dataDir = "/var/lib/immich";
|
dataDir = "/var/lib/immich";
|
||||||
typesenseDataDir = "/var/lib/typesense/data";
|
typesenseDataDir = "/var/lib/immich/typesense/data";
|
||||||
uploadDir = "${dataDir}/upload";
|
uploadDir = "${dataDir}/upload";
|
||||||
dbuser = "immich";
|
dbuser = "immich";
|
||||||
dbname = "immich";
|
dbname = "immich";
|
||||||
|
@ -44,7 +44,7 @@ let
|
||||||
"--add-host=immich-microservices:127.0.0.1"
|
"--add-host=immich-microservices:127.0.0.1"
|
||||||
"--add-host=immich-machine-learning:127.0.0.1"
|
"--add-host=immich-machine-learning:127.0.0.1"
|
||||||
"--add-host=immich-web:127.0.0.1"
|
"--add-host=immich-web:127.0.0.1"
|
||||||
"--add-host=typesense:127.0.0.1"
|
"--add-host=immich-typesense:127.0.0.1"
|
||||||
"--label=io.containers.autoupdate=registry"
|
"--label=io.containers.autoupdate=registry"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -78,7 +78,7 @@ in {
|
||||||
"${ociBackend}-immich-microservices.service"
|
"${ociBackend}-immich-microservices.service"
|
||||||
"${ociBackend}-immich-machine-learning.service"
|
"${ociBackend}-immich-machine-learning.service"
|
||||||
"${ociBackend}-immich-web.service"
|
"${ociBackend}-immich-web.service"
|
||||||
"${ociBackend}-typesense.service"
|
"${ociBackend}-immich-typesense.service"
|
||||||
];
|
];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
@ -101,7 +101,7 @@ in {
|
||||||
entrypoint = "/bin/sh";
|
entrypoint = "/bin/sh";
|
||||||
cmd = [ "./start-server.sh" ];
|
cmd = [ "./start-server.sh" ];
|
||||||
volumes = [ "${uploadDir}:/usr/src/app/upload" ];
|
volumes = [ "${uploadDir}:/usr/src/app/upload" ];
|
||||||
dependsOn = [ "typesense" ];
|
dependsOn = [ "immich-typesense" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
immich-microservices = immichBase // {
|
immich-microservices = immichBase // {
|
||||||
|
@ -109,7 +109,7 @@ in {
|
||||||
entrypoint = "/bin/sh";
|
entrypoint = "/bin/sh";
|
||||||
cmd = [ "./start-microservices.sh" ];
|
cmd = [ "./start-microservices.sh" ];
|
||||||
volumes = [ "${uploadDir}:/usr/src/app/upload" ];
|
volumes = [ "${uploadDir}:/usr/src/app/upload" ];
|
||||||
dependsOn = [ "typesense" ];
|
dependsOn = [ "immich-typesense" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
immich-machine-learning = immichBase // {
|
immich-machine-learning = immichBase // {
|
||||||
|
|
Loading…
Reference in a new issue