DEV Community

Discussion on: Deploy a Phoenix app with Docker stack

Collapse
 
chaitanyapi profile image
chaitanyapi

Hi Ivan. this is a very nice demonstration of how to get on and start using docker with phoenix app. i followed through the steps and able to create containers without any errors. while starting the app using the docker compose (with dependency on database), the database container started without any issue and is ready to accept connection. however the web container when it ran the entrypoint.sh, it echos the statement that it is still waiting for database to start. i could not understand this. can you please help me out where could i have probably gone wrong or when i can check to find the issue.
Thank you.

Collapse
 
chaitanyapi profile image
chaitanyapi

i think i found the issue with my part... the script is not able to find the env variables. now i have fixed it and this worked.
Thank you.