Our great sponsors
-
uwsgi-nginx-flask-docker
Docker image with uWSGI and Nginx for Flask applications in Python running in a single container.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I have tried to enable threading to run the flask web server and a discord bot. The code runs fine in vscode on 127.0.0.1:5000 but when I git pull into a docker image it still runs on port 5000 and not on port 80.
And here is the relevant part of my main.py
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- Nginx/Uwsgi/Flask POST times out if body is too large
- Periodic "Lost connection to MySQL server during query" after Dockerizing Flask Web App
- ELI5 - Python Flask Web Development
- port forwarding is highly effective
- Here is VEDV, A tool for developing applications with virtual machines using a Docker-like workflow.