Open mckennajones opened 8 months ago
@mckennajones uh thats right. As the dependencies are also connected to the chosen storage infrastructure, it might be best to prepare different or alternative docker files. I will think about it, thanks for raising this issue.
my 2 cents: the db container should have a healthcheck, and the storage container should depend on it. The healthcheck can then be different for redis or postgres.
I was trying to deploy the container and got into the same issue since I want to use MySQL instead of Postgres. I have checked the pull request and seems fine to me. So, I would appreciate a new release with the fix.
Cool project! Small issue I ran into when setting it up:
This PR #14 introduced an entrypoint script that uses the
pg_isready
command to wait for a postgres DB to come up. But, the documentation mentions that you can use any Keyv backend. In fact, the readme uses redis as an example. So the entrypoint should probably check for the DB being ready in a more generic way.