muchobien / pocketbase-docker

Pocketbase docker image
345 stars 59 forks source link

[FEAT] Apply migrations #6

Closed maxcodefaster closed 6 months ago

maxcodefaster commented 1 year ago

Is there a straight forward way to apply initial migrations on startup? Thank you.

I saw this but am not quite sure how to do it with the docker-compose?

https://pocketbase.io/docs/migrations

usamashafiqs commented 1 year ago

Is there a straight forward way to apply initial migrations on startup? Thank you.

I saw this but am not quite sure how to do it with the docker-compose?

https://pocketbase.io/docs/migrations

The prebuilt executable enables the migrate command by default.