Skip to content

SPECTADO/pocketbase-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker version of PocketBase - backend for your next SasS and Mobile App

GitHub release (latest by date) Docker Image Version (latest by date) Docker Image Size (tag)

Supported Architectures

Docker AMD64 Docker ARM64 Docker arm v7

Pulling spectado/pocketbase:latest will retrieve the correct image for your arch.

Application Setup

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

pb_data, pb_public and pb_migrations

There are multiple configuration & files directories that are mounted into the container. These folders are mapped to the root inside container.

pb_data holds your application config and data and should be mapped to your local file system to persist them!

pb_public is optional, and is only used for serving static files. (supported in this docker image since version 0.20.7)

pb_migrations is optional, this directory allows you to version your DB structure. See https://pocketbase.io/docs/js-migrations/. (supported in this docker image since version 0.20.8)

volumes:
  - /path/to/data:/pb_data
  - /path/to/public:/pb_public
  - /path/to/migrations:/pb_migrations

PocketBase

This docker image is a build of pocketbase.io - Open Source backend for your next SaaS and Mobile app in 1 file

  • Realtime database
  • Authentication
  • File storage
  • Admin dashboard

Links

PocketBase GIT PocketBase WEB PocketBase DOCS

Usage

docker-compose

version: "3.7"
services:
  pocketbase:
    image: spectado/pocketbase:latest
    container_name: pocketbase
    restart: unless-stopped
    ports:
      - "80:80"
    volumes:
      - /path/to/data:/pb_data
      - /path/to/public:/pb_public
      - /path/to/migrations:/pb_migrations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published