Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .daemonless/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ build:
pkg_name: postgresql18-server
args:
PG_VERSION: "18"
VECTORCHORD_VERSION: "pkg"
aliases: ["18"]

# Component of the daemonless/immich stack -- not a standalone catalog app.
Expand Down
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,19 +174,26 @@ Save as `bastille-compose.yml`, then run `bastille up`.

This image is part of the [Immich Stack](https://daemonless.io/images/immich).

**PostgreSQL version:** `:latest` and `:14` use PostgreSQL 14. `:18` uses PostgreSQL 18.
New installations should consider `:18`. If you are migrating an existing Immich instance,
stay on `:14` — PostgreSQL major version upgrades require a full `pg_dumpall` and restore.
The default `:latest` tag will follow whatever version Immich recommends upstream.
**PostgreSQL version:** `:18` uses PostgreSQL 18 with VectorChord and pgvector from
FreeBSD packages (recommended for new installs). `:latest` and `:14` remain on
PostgreSQL 14 so existing deployments never break on pull; upgrading an existing
PostgreSQL 14 database to 18 requires a full `pg_dumpall` and restore.

PostgreSQL requires `allow.sysvipc` for shared memory. Create `immich-postgres.conf` alongside `appjail-director.yml`:
PostgreSQL needs System V shared memory, which a jail does not get by default.
Create `immich-postgres.conf` alongside `appjail-director.yml`, the same as the
Immich stack's `immich-postgres-template.conf` (`allow.sysvipc` alone does nothing
on FreeBSD 15; the jail needs its own `sysv*: new` namespaces):

```
exec.start: "/bin/sh /etc/rc"
exec.stop: "/bin/sh /etc/rc.shutdown jail"
sysvmsg: new
sysvsem: new
sysvshm: new
mount.devfs
persist
allow.sysvipc
ip4: inherit
ip6: inherit
```


Expand Down
8 changes: 4 additions & 4 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ x-daemonless:
notes: |
This image is part of the [Immich Stack](https://daemonless.io/images/immich).

**PostgreSQL version:** `:latest` and `:14` use PostgreSQL 14. `:18` uses PostgreSQL 18.
New installations should consider `:18`. If you are migrating an existing Immich instance,
stay on `:14` — PostgreSQL major version upgrades require a full `pg_dumpall` and restore.
The default `:latest` tag will follow whatever version Immich recommends upstream.
**PostgreSQL version:** `:18` uses PostgreSQL 18 with VectorChord and pgvector from
FreeBSD packages (recommended for new installs). `:latest` and `:14` remain on
PostgreSQL 14 so existing deployments never break on pull; upgrading an existing
PostgreSQL 14 database to 18 requires a full `pg_dumpall` and restore.

PostgreSQL needs System V shared memory, which a jail does not get by default.
Create `immich-postgres.conf` alongside `appjail-director.yml`, the same as the
Expand Down