Immich_PostgreSQL

Immich_PostgreSQL

Docker app from bmartino1's Repository

Overview

This container (based on PostgreSQL 18) is specifically configured for seamless integration with the Immich container, which fulfills the requirement for PostgreSQL for use with Immich. As Immich is taking over the project and maintaining one themselves for their project stack. See the original project: https://github.com/tensorchord/pgvecto.rs New Immich database release: https://github.com/immich-app/immich/discussions/18429 Repo: https://github.com/immich-app/base-images/pkgs/container/postgres Configuration Parameters POSTGRES_PASSWORD - Superuser password. Default: postgres Note -- If you change this value, remember to update it in the Immich container configuration as well. POSTGRES_USER - Username for the superuser. Default: postgres Note -- Alterations to this setting should also be mirrored in the Immich container. POSTGRES_DB - Default database. Default: postgres Note -- Any change here should be replicated in the Immich container configuration. Storage Data and configuration path: /mnt/user/appdata/postgresql_immich This is the directory where Postgres stores its application data and configuration files.

Requirements

Postgres v18 and up!!!
https://hub.docker.com/_/postgres#pgdata
https://github.com/docker-library/postgres/pull/1259
Container data paths change!

ALWAYS MAKE A BACKUP!!! SEE https://immich.app/docs/administration/postgres-standalone/#migrating-to-vectorchord The Immich container and a Redis container

Runtime arguments

Network
host
Shell
sh
Privileged
false
Extra Params
--hostname postgres --dns=8.8.8.8

Template configuration

POSTGRES_PASSWORDVariable

Initial superuser password (required) Set once at first database creation.

Value
changeme
POSTGRES_USERVariable

Initial superuser name (default: postgres)

Value
postgres
POSTGRES_DBVariable

Initial database name (default: postgres)

Value
immich
Database Storage Path (Appdata)Pathrw

PostgreSQL data storage location https://hub.docker.com/_/postgres#pgdata https://github.com/docker-library/postgres/pull/1259

Target
/var/lib/postgresql/data
Default
/mnt/user/appdata/postgresql_immich
Value
/mnt/user/appdata/postgresql_immich
PostgreSQL access portPorttcp

PostgreSQL TCP connection port mapped to 5432 Docker bridge NAT

Target
5432
Default
5432
Value
5432
pgdataVariable
Target
PGDATA
Default
/var/lib/postgresql/data
Value
/var/lib/postgresql/data
TailScale Fallback State DirectoryVariable{3}

Fallback container directory for Tailscale state information - Added by Community Applications

Target
CA_TS_FALLBACK_DIR
Default
/var/lib/postgresql/
Value
/var/lib/postgresql/

Details

Repository
ghcr.io/immich-app/postgres:18-vectorchord0.5.3-pgvector0.8.1
Last Updated2026-05-31
First Seen2025-11-09

Run Immich_PostgreSQL on Unraid.

Immich_PostgreSQL is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.