Closed SPlanzer closed 4 years ago
this is failing on psql: FATAL: the database system is starting up
I also note I ran into issues with the docker-compose version we are using for ci. see - https://github.com/docker/compose/pull/3433
@strk I opened a pull request (#96) with a pause in the install_web that allowed me to progress docker-compose past this error (psql: FATAL: the database system is starting up)
Hi @SPlanzer rather than adding a sleep to your web script you can take this type of approach within your docker compose file: https://github.com/palmerj/vector-tile-parcel-poc/blob/master/docker-compose.yml#L35 using a simple is database ready script https://github.com/palmerj/vector-tile-parcel-poc/blob/master/wait-for-postgres.sh. Also note the health check I added.
Closing for now. CI has been passing without issue for a while now
This is only affecting docker compose. database and qgis containers build as expected when build independently from their retrospective makes files.
See error below