Bump PocketBase to 0.40.0
Also update the README version references, which were still on 0.39.9. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
2d229a1c4d
commit
5383780bca
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
# ── General ───────────────────────────────────────────────────────────
|
# ── General ───────────────────────────────────────────────────────────
|
||||||
# PocketBase version to build (must match a published release tag, without the leading "v")
|
# PocketBase version to build (must match a published release tag, without the leading "v")
|
||||||
PB_VERSION=0.39.10
|
PB_VERSION=0.40.0
|
||||||
|
|
||||||
# Name of the running container
|
# Name of the running container
|
||||||
CONTAINER_NAME=pocketbase
|
CONTAINER_NAME=pocketbase
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
# ---- build stage: fetch + verify + unzip PocketBase ----
|
# ---- build stage: fetch + verify + unzip PocketBase ----
|
||||||
FROM alpine:3.22 AS build
|
FROM alpine:3.22 AS build
|
||||||
|
|
||||||
ARG PB_VERSION=0.39.10
|
ARG PB_VERSION=0.40.0
|
||||||
# provided automatically by buildx (e.g. amd64, arm64)
|
# provided automatically by buildx (e.g. amd64, arm64)
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
# ---- build stage: fetch + verify + unzip PocketBase ----
|
# ---- build stage: fetch + verify + unzip PocketBase ----
|
||||||
FROM alpine:3.22 AS build
|
FROM alpine:3.22 AS build
|
||||||
|
|
||||||
ARG PB_VERSION=0.39.10
|
ARG PB_VERSION=0.40.0
|
||||||
# provided automatically by buildx (e.g. amd64, arm64)
|
# provided automatically by buildx (e.g. amd64, arm64)
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ Copy `.env.example` to `.env` and adjust. Compose reads `.env` automatically; **
|
|||||||
|
|
||||||
| Variable | Default | Description |
|
| Variable | Default | Description |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| `PB_VERSION` | `0.39.9` | PocketBase release to build (published tag without the leading `v`). |
|
| `PB_VERSION` | `0.40.0` | PocketBase release to build (published tag without the leading `v`). |
|
||||||
| `CONTAINER_NAME` | `pocketbase` | Base name for the container. |
|
| `CONTAINER_NAME` | `pocketbase` | Base name for the container. |
|
||||||
| `PB_PORT` | `8070` | Port for the rootless stack (used inside the container and for the host mapping). |
|
| `PB_PORT` | `8070` | Port for the rootless stack (used inside the container and for the host mapping). |
|
||||||
| `PB_PORT_ROOT` | `8070` | Port for the root stack. |
|
| `PB_PORT_ROOT` | `8070` | Port for the root stack. |
|
||||||
@@ -92,14 +92,14 @@ You can also bake `pb_migrations` / `pb_hooks` into the image by uncommenting th
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# pin a version
|
# pin a version
|
||||||
PB_VERSION=0.39.9 docker compose -f docker-compose.rootless.yml build
|
PB_VERSION=0.40.0 docker compose -f docker-compose.rootless.yml build
|
||||||
|
|
||||||
# multi-arch build with buildx
|
# multi-arch build with buildx
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
--build-arg PB_VERSION=0.39.9 \
|
--build-arg PB_VERSION=0.40.0 \
|
||||||
-f Dockerfile.rootless \
|
-f Dockerfile.rootless \
|
||||||
-t pocketbase:0.39.9 .
|
-t pocketbase:0.40.0 .
|
||||||
```
|
```
|
||||||
|
|
||||||
## Health check
|
## Health check
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ services:
|
|||||||
dockerfile: Dockerfile.root
|
dockerfile: Dockerfile.root
|
||||||
args:
|
args:
|
||||||
# PocketBase version to bake into the image (see .env)
|
# PocketBase version to bake into the image (see .env)
|
||||||
PB_VERSION: ${PB_VERSION:-0.39.10}
|
PB_VERSION: ${PB_VERSION:-0.40.0}
|
||||||
image: pocketbase:${PB_VERSION:-0.39.10}-root
|
image: pocketbase:${PB_VERSION:-0.40.0}-root
|
||||||
container_name: ${CONTAINER_NAME:-pocketbase}-root
|
container_name: ${CONTAINER_NAME:-pocketbase}-root
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ services:
|
|||||||
dockerfile: Dockerfile.rootless
|
dockerfile: Dockerfile.rootless
|
||||||
args:
|
args:
|
||||||
# PocketBase version to bake into the image (see .env)
|
# PocketBase version to bake into the image (see .env)
|
||||||
PB_VERSION: ${PB_VERSION:-0.39.10}
|
PB_VERSION: ${PB_VERSION:-0.40.0}
|
||||||
image: pocketbase:${PB_VERSION:-0.39.10}
|
image: pocketbase:${PB_VERSION:-0.40.0}
|
||||||
container_name: ${CONTAINER_NAME:-pocketbase}
|
container_name: ${CONTAINER_NAME:-pocketbase}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user