Kludex/fastapi-microservices

Create PostgreSQL image

Opened this issue · 2 comments

Due to PostgreSQL not being able to create multiple databases by default, we need to create our own image and add a docker-entrypoint script to do it.

Each microservice (that uses PostgreSQL) will have its own database (in the same volume).

Consider using the bitnami image, as it looks easy to create multiple databases with k8s jobs.

Specifically, we need a database for tests.