How to run a PR workflow with local DB and docker?

I have currently disbaled PR preview feature because it’s unclear how it plays with databases.

We often make migrations in our PRs and we don’t want that to apply to our staging DB that’s deployed to develop branch. We only want it to apply after we merge the feature/* branch to develop.

When we make a feature/* branch - I would ideally like to have a clean local DB, and all of our services … NodeJS, DB, Nginx, Static site, all served via one docker container. The DB can be seeded with a command.

Is this workflow possible in render?

Hi @viperfx! It sounds like you are using the PR Preview feature, but our Preview Environment feature may be more suited to your needs here. When setting up a Preview Environment, you’ll be able to have a copy of all your services in a new environment. You can also use an initialDeployHook to seed your fresh Database with data.