coollabsio / pocketbase

Unofficial Pocketbase docker images for ARM & AMD
59 stars 12 forks source link

How to mount a persistent volume for PocketBase #30

Closed steff-mat closed 3 months ago

steff-mat commented 4 months ago

As I had this issue for quite some time, and it was no so easy to find the fix, it would be good to have the official documentation extended with this info:

Volume Mount

Name pb-storage

Source Path [do not complete or if you want to share the pb_data for whatever reason type /app/pb_data]

Destination Path /app/pb_data

orenaksakal commented 3 months ago

@steff-mat the template should already be creating a volume for you

Feel free to open a PR for the documentation change/suggestion 👍