Closed Sorrow81 closed 3 years ago
Hello @Sorrow81,
Looks like your Flask app is listening on 127.0.0.1. Can you try to make it listen on 0.0.0.0 instead ?
And yes, of course, if the server is running on 127.0.0.1, it can never be exposed for security reasons. Thanks for this reminder ;)
Description Hello,
I tried to add a Flask service using autoconf. But with this service I get 502 bad gateway.
I tried to see the logs of the main container but when I do a cat on /var/logs/error.log it doesn't work inside the container I think.
Thank you for your insight.
How to reproduce When I launch my application (main.py) it launches a Flask application on port 5000.
My Dockerfile:
My docker-compose:
After run my docker-compose, application are running, but when i tri to access twitchminer.local not working. I tried to run a nodejs service on port 3000 (same as your examples) and it works fine.
Logs