/pocketbase-docker

Pocketbase Docker Image

Primary LanguageDockerfile

pocketbase logo

Docker image for PocketBase

Latest Pocketbase Version Supported docker archs Latest docker build


Supported Architectures

Simply pulling ghcr.io/pr0ton11/pocketbase:latest should retrieve the correct image for your arch.

The architectures supported by this image are:

Architecture Available
amd64
arm64
armv7

Version Tags

This image provides various versions that are available via tags. Please read the descriptions carefully and exercise caution when using unstable or development tags.

Tag Available Description
latest Stable releases from PocketBase
x.x.x Patch release from PocketBase
x.x Minor release from PocketBase
x Major release from PocketBase

Application Setup

Access the webui at <your-ip>:8090, for more information check out PocketBase.

Usage

Here are some example snippets to help you get started creating a container.

docker-compose (recommended)

version: "3.7"
services:
  pocketbase:
    image: ghcr.io/pr0ton11/pocketbase:latest
    container_name: pocketbase
    restart: unless-stopped
    environment:
      PB_ENCRYPTION_KEY: example # please replace this value with 32 random characters in production
    ports:
      - "8090:8090"
    volumes:
      - /path/to/data:/data
      - /path/to/public:/public # optional
      - /path/to/hooks:/hooks # optional
      - /path/to/migrations:/migrations # optional
docker run -d \
  --name=pocketbase \
  -p 8090:8090 \
  -e PB_ENCRYPTION_KEY=example `# please replace this value in production` \
  -v /path/to/data:/data \
  -v /path/to/public:/public `# optional` \
  -v /path/to/hooks:/hooks `# optional` \
  -v /path/to/migrations:/migrations `# optional` \
  --restart unless-stopped \
  ghcr.io/pr0ton11/pocketbase:latest

Related Repositories