Pocketbase
Information
Install
Do you want to get Pocketbase up and running?
Docker
There are two ways you can go about setting up Pocketbase via Docker! We recommand using a docker compose, like this one below from their github.
Compose
version: '3.7'
services:
pocketbase:
image: ghcr.io/muchobien/pocketbase:latest
container_name: pocketbase
restart: unless-stopped
command:
- --encryptionEnv #optional
- ENCRYPTION #optional
environment:
ENCRYPTION: example #optional
ports:
- '8090:8090'
volumes:
- /path/to/data:/pb_data
- /path/to/public:/pb_public #optional
healthcheck: #optional (recommended) since v0.10.0
test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1
interval: 5s
timeout: 5s
retries: 5
CLI
docker run -d \
--name=pocketbase \
-p 8090:8090 \
-e ENCRYPTION=example `#optional` \
-v /path/to/data:/pb_data \
-v /path/to/public:/pb_public `#optional` \
--restart unless-stopped \
ghcr.io/muchobien/pocketbase:latest \
--encryptionEnv ENCRYPTION `#optional`
Coolify
Installing Pocketbase through Coolify is extremely easy!
- Click
+ Create New Resource
- Click
Service
- Select
Pocketbase
- Done! Fill in the URL and then head over the admin panel,
domain.com/_/
.