Immich PostgreSQL
| Description / name | Input element |
|---|---|
| Container Registry | |
| Container Configuration Root Path | |
| Immich PostgreSQL Host Port | |
| Immich PostgreSQL /var/lib/postgresql/data Path |
PostgreSQL 14 with pgvector/pgvecto.rs extensions for Immich.
Version Tags
| Tag | Description | Best For |
|---|---|---|
latest |
Upstream Binary. Downloads the official release. | Most users. Matches Linux Docker behavior. |
Prerequisites
Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions.
Deployment
services:
immich-postgres:
image: ghcr.io/daemonless/immich-postgres:latest
container_name: immich-postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=immich
volumes:
- /path/to/containers/immich/postgres:/var/lib/postgresql/data
ports:
- 5432:5432
restart: unless-stopped
- name: Deploy immich-postgres
containers.podman.podman_container:
name: immich-postgres
image: ghcr.io/daemonless/immich-postgres:latest
state: started
restart_policy: always
env:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
POSTGRES_DB: "immich"
ports:
- "5432:5432"
volumes:
- "/path/to/containers/immich/postgres:/var/lib/postgresql/data"
Access the Web UI at: http://localhost:5432
Interactive Configuration
Parameters
Environment Variables
| Variable | Default | Description |
|---|---|---|
POSTGRES_USER |
postgres |
Database superuser (default: postgres) |
POSTGRES_PASSWORD |
postgres |
Database password (default: postgres) |
POSTGRES_DB |
immich |
Database name (default: immich) |
Volumes
| Path | Description |
|---|---|
/var/lib/postgresql/data |
Database data directory |
Ports
| Port | Protocol | Description |
|---|---|---|
5432 |
TCP | PostgreSQL Port |
This image is part of the Immich Stack.
Implementation Details
- Architectures: amd64
- User:
postgres(UID/GID set via PUID/PGID). Defaults to1000:1000. - Base: Built on
ghcr.io/daemonless/base(FreeBSD 15.0).
Website Source Code FreshPorts
Need help? Join our Discord community.