mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
immich docker
This commit is contained in:
parent
98ad9f4c4f
commit
bb8363aa8c
1 changed files with 3 additions and 2 deletions
|
|
@ -50,7 +50,7 @@
|
|||
};
|
||||
|
||||
immich-postgres = {
|
||||
image = "ghcr.io/immich-app/postgres:release"; # Simplified image tag
|
||||
image = "ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db3b44a"; # Exact image with SHA
|
||||
volumes = [
|
||||
"/var/lib/immich/postgres-data:/var/lib/postgresql/data"
|
||||
];
|
||||
|
|
@ -60,6 +60,7 @@
|
|||
POSTGRES_DB = "immich_db";
|
||||
POSTGRES_INITDB_ARGS = "--data-checksums";
|
||||
};
|
||||
extraFlags = [ "--shm-size=128mb" ]; # Equivalent to shm_size in docker-compose
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue