Dev environment (postgress on docker image)

Maybe it would be a good idea to provide a docker image with a pre-deployed postgress database for development (eventually even containing some mock data)

This may also help on unit-testing/smoke-testing (some day)

2 Likes

It might be confusing since the project doesn’t actually use Docker. IMO there’s already lots of setup instructions & documentation.
We will have a build script in the future so that the database & project gets setup with 1 command.

For my own development I use Docker and you can see how it’s setup here: https://github.com/LionelBergen/codidact-docker
After running docker-compose build the postgres container contains mock data from the project

4 Likes

This is exactly what I was looking for. Thanks for sharing it.

2 Likes