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
Readme
View on GitHubPhotos on Unraid
Photos runs as four containers. Install them in this order from Community Applications (search Photos).
- Photos-Postgres: set a database password (letters and numbers only). Keep the data folder on a cache or SSD share and back it up.
- Photos-Redis: no changes needed.
- Photos-ML: no changes needed. The first face scan downloads AI models and can take a while.
- 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.
- Database host and Redis host: your Unraid server's IP address, for example
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 allLinks
Details
ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0Runtime arguments
- Network
bridge- Shell
bash- Privileged
- false
- Extra Params
--shm-size=128m
Template configuration
Host port. Photos connects to this.
- Target
- 5432
- Default
- 5433
- Value
- 5433
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
Choose a password. Letters and numbers only. Use the same one in Photos.
- Target
- POSTGRES_PASSWORD
Database user.
- Target
- POSTGRES_USER
- Default
- postgres
- Value
- postgres
Database name.
- Target
- POSTGRES_DB
- Default
- immich
- Value
- immich
Used when the database is first created.
- Target
- POSTGRES_INITDB_ARGS
- Default
- --data-checksums
- Value
- --data-checksums