Pocketbase is a powerful, open-source backend designed for SaaS and mobile applications, all implemented with a single file.
For comprehensive Pocketbase usage and implementation details, visit the Pocketbase Documentation.
Experience the capabilities of Pocketbase through the Live Demo.
To install Pocketbase on a Dokku server, follow these detailed steps:
git clone https://github.com/your-repo/dokku-pocketbase.git
dokku-pocketbase
directory.
cd dokku-pocketbase
pocketbase
on your server.
dokku apps:create pocketbase
dokku storage:ensure-directory pocketbase
dokku storage:mount pocketbase /var/lib/dokku/data/storage/pocketbase:/app/pb_data
dokku config:set pocketbase POCKETBASE_VERSION=0.22.4
git remote add dokku dokku@<YOUR_SERVER_IP>:pocketbase
git push dokku main
Pocketbase will now be operational on your server.
To select a different Pocketbase version, modify the Dockerfile or set the POCKETBASE_VERSION
environment variable in your Dokku app.
Upgrade your Pocketbase instance to a new version with these commands:
dokku docker-options:add pocketbase build '--build-arg POCKETBASE_VERSION=0.22.22'
dokku ps:rebuild pocketbase
From version 0.16+, Pocketbase includes built-in backup and restore APIs accessible via the Admin UI (Settings > Backups).
Enhance Pocketbase by writing custom business logic in Go or JavaScript. Use the pb_hooks
directory to create a portable backend. Learn more in the Pocketbase as a Framework guide.
Consult the Pocketbase Documentation or open an issue on our GitHub repository for any installation or usage problems.
Seeking a custom web application or a bespoke solution for your business? The BlockShift team can assist with:
Ready to start your project? Visit blockshift.us and discover more about our services.
We welcome contributions! For details on how to get started, review our Contributing Guide.
This project is licensed under the MIT License. View the LICENSE file for more details.