hackoregon / transportation-system-backend

2018 repo for the transportation api backend
MIT License
8 stars 2 forks source link

api container never sees database container listening if the database hasn't been restored #35

Closed znmeb closed 6 years ago

znmeb commented 6 years ago

If the database $POSTGRES_NAME hasn't been restored in the db container, the wait loop in bin/local-docker-entrypoint.sh will never exit, even though the db container is alive and well. So we need to wait for the postgres database, which is there by default.

znmeb commented 6 years ago

closing - commit 3fa84b5a0ccfc40b78c45bde21e0bba706846186 fixes this