immich-postgres

immich-postgres

Aplicación Docker from sgraaf's Repository

Visión general

PostgreSQL 14 database for Immich, pre-built with the VectorChord / pgvecto.rs vector extensions that Immich requires. This is the "database" service from the official Immich docker-compose.yml. It must be on the same custom Docker network ("immich") as the Immich server so the server can reach it by the container name "immich-postgres". POSTGRES_PASSWORD here must match DB_PASSWORD in the immich-server container. NOTE: changing the username/database/password after first start has no effect because the data directory is already initialized.

Argumentos en tiempo de ejecución

Red
immich
Parámetros adicionales
--shm-size=128m

Configuración de plantillas

Database passwordVariable

Password for the Postgres database. MUST match DB_PASSWORD set in the immich-server container. Use only A-Za-z0-9 characters.

Objetivo
POSTGRES_PASSWORD
Database userVariable

Postgres username. MUST match DB_USERNAME in immich-server.

Objetivo
POSTGRES_USER
Por defecto
postgres
Valor
postgres
Database nameVariable

Postgres database name. MUST match DB_DATABASE_NAME in immich-server.

Objetivo
POSTGRES_DB
Por defecto
immich
Valor
immich
Init argsVariable

Arguments passed to initdb on first start. Leave as --data-checksums.

Objetivo
POSTGRES_INITDB_ARGS
Por defecto
--data-checksums
Valor
--data-checksums
DB storage type (HDD)Variable

Optional. Set to HDD if the database data is NOT stored on an SSD. Leave blank for SSD.

Objetivo
DB_STORAGE_TYPE
Database dataPathrw

Postgres data directory. Equivalent to DB_DATA_LOCATION in the compose .env file. Keep this on fast/SSD storage. Do NOT use a path that is also handled by another mover/backup process that locks files.

Objetivo
/var/lib/postgresql/data
Por defecto
/mnt/user/appdata/immich/postgres
Valor
/mnt/user/appdata/immich/postgres

Detalles

Repositorio
ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
Última actualización2026-06-01
Visto por primera vez2026-05-25

Ejecute immich-postgres en Unraid.

immich-postgres se encuentra en Community Apps para Unraid OS. Explore Unraid para crear un servidor doméstico flexible, un NAS o un laboratorio doméstico.