docker-compose.with_db.yml healthchecks fail out of the box
Opened this issue · 0 comments
Brutus5000 commented
The postgres database in docker-compose.with_db.yml
fails to startup by default.
The error for that is that the POSTGRES_USER
is not available for the healtcheck via pg_isready, because compose does not lookup the environment variables of a service. Unless it is specifically declared in an .env file it fails to run. And since everything depends on the postgres db, the whole stack fails to launch.
ebicsbox/docker-compose.with_db.yml
Lines 15 to 46 in 6ca2cec
Potential solution: move the default environment to .env.example and mention to copy the file to .env in the readme.