web/api (latest)
Published 2026-10-01 19:31:55 +02:00 by patrick
Installation
docker pull code.khr.pt/patrick/web/api:latestsha256:94ad9a575105ce081619936bae52c080a91852ccfdfd4b258b2189e3f75a075fAbout this package
PocketBase server with hooks and migrations baked in.
Image layers
| ADD alpine-minirootfs-3.21.8-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG PB_VERSION=0.39.10 |
| ARG TARGETARCH=amd64 |
| RUN |2 PB_VERSION=0.39.10 TARGETARCH=amd64 /bin/sh -c apk add --no-cache ca-certificates unzip # buildkit |
| ADD https://github.com/pocketbase/pocketbase/releases/download/v0.39.10/pocketbase_0.39.10_linux_amd64.zip /tmp/pb.zip # buildkit |
| RUN |2 PB_VERSION=0.39.10 TARGETARCH=amd64 /bin/sh -c unzip /tmp/pb.zip -d /pb/ && rm /tmp/pb.zip # buildkit |
| COPY pb_hooks/ /pb/pb_hooks/ # buildkit |
| COPY pb_migrations/ /pb/pb_migrations/ # buildkit |
| RUN |2 PB_VERSION=0.39.10 TARGETARCH=amd64 /bin/sh -c addgroup -S pb && adduser -S -G pb -H -D pb && mkdir -p /pb/pb_data && chown -R pb:pb /pb # buildkit |
| USER pb |
| EXPOSE [8090/tcp] |
| VOLUME [/pb/pb_data] |
| CMD ["/pb/pocketbase" "serve" "--http=0.0.0.0:8090" "--dir=/pb/pb_data" "--migrationsDir=/pb/pb_migrations" "--hooksDir=/pb/pb_hooks"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.created | 2026-10-01T17:31:44.142Z |
| org.opencontainers.image.description | PocketBase server with hooks and migrations baked in. |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | fce54f4bee806300ecce36b7ad66e2bcb60286ce |
| org.opencontainers.image.source | https://code.khr.pt/patrick/mono |
| org.opencontainers.image.title | PocketBase backend |
| org.opencontainers.image.url | https://code.khr.pt/patrick/mono |
| org.opencontainers.image.version | latest |
Details
2026-10-01 19:31:55 +02:00
Versions (18)
View all
Container
9
OCI / Docker
linux/amd64
39 MiB
buildcache
2026-10-01
latest
2026-10-01
sha-fce54f4
2026-10-01
sha-c91375b
2026-06-08
sha-d23c9b9
2026-06-03