This… I had to setup a postgres DB with multiple different DB’s in Docker for a project. General mindset seemed to be, a second DB = a second container.
I think this is fine as long as your image contains two databases. Don’t just add a database to a running container, that’s bad practice since containers are designed to be volatile.
This… I had to setup a postgres DB with multiple different DB’s in Docker for a project. General mindset seemed to be, a second DB = a second container.
I think this is fine as long as your image contains two databases. Don’t just add a database to a running container, that’s bad practice since containers are designed to be volatile.