I was facing the issue, fixed by solving this BUG, because in docker-compose.yml we used DATABASE_URI under movie-service, change it in movie-service\app\api\db.py as well, replace everywhere you have DATABASE_URL to DATABASE_URI
Log in to continue
We're a place where coders share, stay up-to-date and grow their careers.
Thanks a lot for your article, really appreciate that !
But I have a little problem, when I clone the code and run "docker-compose up -d", it return
"502 Bad Gateway"
Do you know how to fix this ? I quite new to docker and nginx :v
Thanks in advance !
same here
[SOLVED]
Check your docker-compose logs to see what problem came from.
docker-compose logs
I was facing the issue, fixed by solving this BUG, because in docker-compose.yml we used DATABASE_URI under movie-service, change it in movie-service\app\api\db.py as well, replace everywhere you have DATABASE_URL to DATABASE_URI