diff --git a/.daemonless/config.yaml b/.daemonless/config.yaml index d9c5651..f0715de 100644 --- a/.daemonless/config.yaml +++ b/.daemonless/config.yaml @@ -45,8 +45,10 @@ build: BASE_VERSION: "15-latest" aliases: ["18", "latest", "pkg", "pkg-latest"] default: true - # 19 is intentionally absent: postgresql19-server (19.b3) installs fine, - # but the pgvector 0.8.2 port fails to compile against it -- PG19 moved the - # core internals it relies on (LWLock, slock_t, ConditionVariable, Page, - # AddinShmemInitLock) out of postgres.h's transitive includes. Re-add once - # pgvector supports PG19 and 19.0 ships. + - tag: "19-pkg-latest" + pkg_name: postgresql19-server + containerfile: Containerfile.pkg + args: + PG_VERSION: "19" + BASE_VERSION: "15-latest" + aliases: ["19"] diff --git a/README.md b/README.md index a1cf3ca..8ccf303 100644 --- a/README.md +++ b/README.md @@ -19,20 +19,27 @@ The World's Most Advanced Open Source Relational Database on FreeBSD. | **Source** | [https://www.postgresql.org/](https://www.postgresql.org/) | | **Website** | [https://www.postgresql.org/](https://www.postgresql.org/) | -## Version Tags -| Tag | Description | Best For | -| :--- | :--- | :--- | -| `14` / `14-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Staying current. | -| `15` / `15-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Staying current. | -| `16` / `16-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Staying current. | -| `17` / `17-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Staying current. | -| `18` / `18-pkg-latest` / `latest` / `pkg` / `pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Staying current. | +## Init scripts + +On first start (empty data directory), files in `/docker-entrypoint-initdb.d/` +run in name order: `*.sh` (run if executable, else sourced), `*.sql` and +`*.sql.gz`. They run as `bsd`, not as root, and connect as +`POSTGRES_USER`, the superuser that owns the databases. ## Prerequisites + Before deploying, ensure your host environment is ready. See the [Quick Start Guide](https://daemonless.io/guides/quick-start) for host setup instructions. ## Deployment +### Fjord + +Install and manage **PostgreSQL** on FreeBSD with [fjord](https://fjord.daemonless.io): + +```bash +fjord install postgres +``` + ### Podman Compose ```yaml @@ -191,13 +198,15 @@ Save as `bastille-compose.yml`, then run `bastille up`. |------|----------|-------------| | `5432` | TCP | PostgreSQL port | -## Init scripts - -On first start (empty data directory), files in `/docker-entrypoint-initdb.d/` -run in name order: `*.sh` (run if executable, else sourced), `*.sql` and -`*.sql.gz`. They run as `bsd`, not as root, and connect as -`POSTGRES_USER`, the superuser that owns the databases. - +## Version Tags +| Tag | Description | Best For | +| :--- | :--- | :--- | +| `14` / `14-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Staying current. | +| `15` / `15-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Staying current. | +| `16` / `16-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Staying current. | +| `17` / `17-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Staying current. | +| `18` / `18-pkg-latest` / `latest` / `pkg` / `pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Staying current. | +| `19` / `19-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Staying current. | **Architectures:** amd64, aarch64 **User:** `bsd` (UID/GID via PUID/PGID, defaults to 1000:1000)