Pocketbase is a Open Source backend for your next SaaS and Mobile app in 1 file
- Clone this repository
- Run
cd dokku-pocketbase
- Create Dokku App in your server
dokku apps:create pocketbase
- Create a Persistent Storage
dokku storage:ensure-directory pocketbase
- Mounting storage into pocketbase app
dokku storage:mount pocketbase /var/lib/dokku/data/storage/pocketbase:/app/pb_data
- Add your dokku remote
git remote add dokku dokku@ipOrHosthere:pocketbase
- Push to your dokku
git push dokku main
- Done
If you want to change the Pocketbase version just edit the Dockerfile and change the argument POCKETBASE_VERSION
to your custom version