Context
A quickstart script with an ephemeral setup (e.g. docker).
Ideally we want to be able to spin up dependencies for local development.
This would be:
- The database
- Potentially a database UI (pgadmin)
- Migration script(s) to perform migration on startup
Simply running docker compose up should run the relevant services - which local app should be able to connect with.
The .env and or .env.local file(s) should be used here for setting relevant env settings for the containers.
Background
Context
A quickstart script with an ephemeral setup (e.g. docker).
Ideally we want to be able to spin up dependencies for local development.
This would be:
Simply running
docker compose upshould run the relevant services - which local app should be able to connect with.The
.envand or.env.localfile(s) should be used here for setting relevant env settings for the containers.Background