Photos-Postgres

Photos-Postgres

Docker app from bdlnaredi's Repository

Database for Photos. Install this before the Photos container. Keep the data folder on your cache SSD, not a network share, and back it up: it holds your albums, faces and…

Overview
Database for Photos. Install this before the Photos container. Keep the data folder on your cache SSD, not a network share, and back it up: it holds your albums, faces and comments.

Photos on Unraid

Photos runs as four containers. Install them in this order from Community Applications (search Photos).

  1. Photos-Postgres: set a database password (letters and numbers only). Keep the data folder on a cache or SSD share and back it up.
  2. Photos-Redis: no changes needed.
  3. Photos-ML: no changes needed. The first face scan downloads AI models and can take a while.
  4. Photos:
    • Database host and Redis host: your Unraid server's IP address, for example 192.168.1.10.
    • Database password: the same password you set in Photos-Postgres.
    • Machine learning URL: http://YOUR-UNRAID-IP:3004, using the same IP.
    • Photo library: the share where your photos should be stored.

Then open http://YOUR-UNRAID-IP:2283 and create your admin account. The first account you create becomes the admin.

Ports

Container Host port
Photos 2283
Photos-Postgres 5433
Photos-Redis 6380
Photos-ML 3004

These avoid clashing with a stock Immich install. If you change a host port, change the matching value in the Photos container too.

Updating

Click Check for Updates on the Docker tab, then Apply Update on the Photos container. Update Photos-ML only when this README says to, so it stays on a version the app supports.

Android app

Download photos-android-apk from the latest Photos build run on the repository's Actions tab, install it, and use http://YOUR-UNRAID-IP:2283 as the server address.

Support

Open an issue at https://github.com/bdlnaredi/photos/issues.

Categories

Related apps

Explore more like this

Explore all

Links

Details

Repository
ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
Last Updated2026-11-16
First Seen2025-11-09

Runtime arguments

Network
bridge
Shell
bash
Privileged
false
Extra Params
--shm-size=128m

Template configuration

Database portPorttcp

Host port. Photos connects to this.

Target
5432
Default
5433
Value
5433
Database dataPathrw

Database files. Use a cache or SSD share.

Target
/var/lib/postgresql/data
Default
/mnt/user/appdata/photos/postgres
Value
/mnt/user/appdata/photos/postgres
Database passwordVariable

Choose a password. Letters and numbers only. Use the same one in Photos.

Target
POSTGRES_PASSWORD
Database userVariable

Database user.

Target
POSTGRES_USER
Default
postgres
Value
postgres
Database nameVariable

Database name.

Target
POSTGRES_DB
Default
immich
Value
immich
Init argsVariable

Used when the database is first created.

Target
POSTGRES_INITDB_ARGS
Default
--data-checksums
Value
--data-checksums