Sign inSign up

ahmertahir/pocketbase

By ahmertahir

•Updated 2 months ago

[Unofficial] Pocketbase Image for personal projects. Current version: 0.39.9 / latest

Image
Content management system
Databases & storage
1

1.2K

ahmertahir/pocketbase repository overview

⁠Overview

This Docker image provides a lightweight and efficient way to run Pocketbase, an open-source backend for your applications. Pocketbase comes with a built-in database, user authentication, file storage, and more. This image is built on top of the latest Alpine Linux to ensure a minimal and secure environment.

⁠Image GitHub Repository

ahmertahir/pocketbase GitHub Repo⁠

⁠Image Details

Base Image: Alpine Linux (latest)
Pocketbase Version: 0.39.9 / latest
Exposed Port: 8090

⁠Docker Compose file (persist data locally)

services:
  pocketbase:
    image: ahmertahir/pocketbase:latest
    container_name: pocketbase
    restart: unless-stopped
    build:
      context: .
    ports:
      - "8090:8090"
    volumes:
      - ./pb_migrations:/pb/pb_migrations
      - ./pb_hooks:/pb/pb_hooks
      - ./pb_data:/pb/pb_data
volumes:
  pb_migrations:
  pb_hooks:
  pb_data:

⁠Dockerfile Code

FROM alpine:latest
ARG PB_VERSION=0.39.9
RUN apk add --no-cache \
    unzip \
    ca-certificates
ADD https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_amd64.zip /tmp/pb.zip
RUN unzip /tmp/pb.zip -d /pb/
WORKDIR /pb/
EXPOSE 8090
CMD ["/pb/pocketbase", "serve", "--http=0.0.0.0:8090"]

Tag summary

Content type

Image

Digest

sha256:09b0c8673…

Size

27.4 MB

Last updated

2 months ago

docker pull ahmertahir/pocketbase