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: 0 additions & 1 deletion .github/workflows/build-pocketbase-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
with:
images: docker.io/${{ vars.DOCKERHUB_USERNAME }}/pocketbase
tags: |
type=raw,value=build-${{ github.run_number }}
type=raw,value=${{ vars.PB_VERSION }}
type=raw,value=latest
-
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:latest

ARG PB_VERSION=0.29.2
ARG PB_VERSION=0.30.0

ARG TARGETARCH

Expand Down Expand Up @@ -33,6 +33,7 @@ RUN case "$TARGETARCH" in \

# uncomment to copy the local pb_hooks dir into the image
# COPY ./pb_hooks /pb/pb_hooks
RUN apk del unzip

EXPOSE 8080

Expand Down
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ Unoffical Pocketbase Docker Container
Support the original project: https://github.com/pocketbase/pocketbase


This Repo sets up the Github Actions to build and deploy to Dockerhub the `azatecas/pocketbase` multiarch image.
It does not build pocketbase from scratch, but rather pull the official release from the original Pocketbase Repo and containarize it.
This Repo sets up the Github Actions to build and deploy to Dockerhub the [azatecas/pocketbase](https://hub.docker.com/repository/docker/azatecas/pocketbase) multiarch image.
It does not build pocketbase from scratch, but rather pull the [official release](https://github.com/pocketbase/pocketbase/releases) from the original Pocketbase Repo and containarize it.

Current pocketbase architecture supported by this repo:
Current Pocketbase container architecture supported by this repo:
- amd64
- arm64
- armv7

This image is being used in production, so we will do our best to build after each new Pocketbase release, although it may take a few days.
This image is being used in production, so we will do our best to build after each new Pocketbase release, although it may take a few days after each official release and there may be additional time limitations since we are using the free tier of github actions which have usage limits :)


Suggested `docker-compose.yml` configuration

Expand All @@ -23,6 +24,9 @@ services:
container_name: pocketbase
image: azatecas/pocketbase
restart: unless-stopped
command:
- --encryptionEnv
- ENCRYPTION
environment:
ENCRYPTION: ${ENCRYPTION} # optional (Ensure this is a 32-character long encryption key https://pocketbase.io/docs/going-to-production/#enable-settings-encryption)
ports:
Expand All @@ -41,4 +45,4 @@ services:
`ENCRYPTION` - OPTIONAL is used to encrypt settings in the current pocketbase instance.
`COMMON_PATH` - refers to the root of the project.

for more read the offical Pocketbase documentation: https://pocketbase.io/docs
for more read the offical Pocketbase documentation: https://pocketbase.io/docs