- Summary
When first running this with docker-compose, the api fails immediately
because the db service is not yet running. This adds depends_on to
make sure the db service is running before the api service.
- Test plan
run docker-compose up and make sure db runs before api starts
- Description for the changelog
Ensure db service runs before api service when running docker-compose
- Summary When first running this with docker-compose, the
api
fails immediately because thedb
service is not yet running. This addsdepends_on
to make sure thedb
service is running before theapi
service.- Test plan
run
docker-compose up
and make suredb
runs beforeapi
starts- Description for the changelog
Ensure
db
service runs beforeapi
service when runningdocker-compose