Skip to content

umakers/dokku-pocketbase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pocketbase Dokku

Pocketbase Logo

Pocketbase is an open-source backend for your next SaaS and mobile app, designed to be implemented with just one file.

Documentation

To learn more about Pocketbase and how to use it, please refer to the Pocketbase Documentation.

Demo

You can explore a live demo of Pocketbase by visiting the Live Demo page.

Installation

To install Pocketbase, follow these steps:

  1. Clone this repository to your local machine.
  2. Navigate to the dokku-pocketbase directory: cd dokku-pocketbase
  3. Create a Dokku app on your server using the command: dokku apps:create pocketbase.
  4. Ensure the creation of a persistent storage by running: dokku storage:ensure-directory pocketbase.
  5. Mount the storage into the Pocketbase app using: dokku storage:mount pocketbase /var/lib/dokku/data/storage/pocketbase:/app/pb_data.
  6. Set Pocketbase version using a enviroment Variable (Optional): dokku config:set pocketbase POCKETBASE_VERSION=0.22.4
  7. Add the Dokku remote by executing: git remote add dokku dokku@ipOrHosthere:pocketbase.
  8. Push the code to your Dokku remote using: git push dokku main.
  9. You're done! Pocketbase should now be successfully installed on your server.

Customizing Pocketbase Version

If you wish to use a different version of Pocketbase, you can do so by modifying the Dockerfile. Simply change the value of the POCKETBASE_VERSION argument to your desired version or just set the POCKETBASE_VERSION enviroment variable on the dokku app.

About

Install Pocketbase on Dokku a Heroku Alternative

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%