Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create PostgreSQL image #3

Open
Kludex opened this issue Apr 19, 2021 · 2 comments
Open

Create PostgreSQL image #3

Kludex opened this issue Apr 19, 2021 · 2 comments

Comments

@Kludex
Copy link
Owner

Kludex commented Apr 19, 2021

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).

@Kludex
Copy link
Owner Author

Kludex commented Apr 23, 2021

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

@Kludex
Copy link
Owner Author

Kludex commented Apr 25, 2021

Specifically, we need a database for tests.

@Kludex Kludex added this to To do in Production ready Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant