BaaS using SQLite
1.0K
Custom pocketbase docker image.
The Dockerfile to build this image can be located at http://github.com/svicknesh/pocketbase-docker
Pocketbase is an open source backend consisting of embedded database (SQLite) with realtime subscriptions, built-in auth management, convenient dashboard UI and simple REST-ish API.
This docker image follows the release of the official pocketbase binary. This container is expected to be behind a reverse proxy with TLS, hence this docker only exposes the HTTP port.
Below is an example docker-compose.yaml for starting this docker image locally
services:
pocketbase:
image: vicknesh/pocketbase:latest
container_name: pocketbase
restart: unless-stopped
environment:
TZ: Asia/Kuala_Lumpur
POCKETBASE_ENCRYPTION: icoKBoF0lOliRQo3RoJVmcE841mwpcaR # generate random 32 character string using `LC_ALL=C < /dev/urandom tr -dc A-Za-z0-9 | head -c32`
volumes:
- ./data:/exia/pocketbase
- ./hooks:/exia/pocketbase_hooks
- ./public:/exia/pocketbase_public
- /etc/ca-certificates/extracted/cadir:/etc/ssl/certs:ro # for ArchLinux
- /usr/share/ca-certificates/mozilla:/etc/ssl/certs:ro # for Ubuntu
ports:
- 0.0.0.0:8080:8080/tcp
The default PUID and PGID of the user is 1000, to change it, just set the appropriate environment variables with the preferred user and group id.
Content type
Image
Digest
sha256:1c9c9c916…
Size
18.3 MB
Last updated
about 1 year ago
docker pull vicknesh/pocketbase