Make sure you have an account on Render.com
- Create new Web Service
- Fork this repo https://github.com/devbyray/pocketbase-docker and make it private!
- And select the repo for the service
- After the build go to your {URL}/_ to see the dashboard where you can create an account
- Connect your FTP client (docs)
- Download the
pb_migrations
and/orpb_data
to your local repo - Uncomment this line in the Dockerfile:
# COPY ./pb_migrations /pb/pb_migrations
- Uncomment this line in the Dockerfile:
# COPY ./pb_data /pb/pb_data
- Commit and push the changes to your repo
- Render.com will pick up the changes and use your migrations in Docker 💪