Questions tagged [flask]
Use this tag if a question is about flask
10 questions
0 votes
1 answer
43 views
Best approach to toggle app availability in azure?
I have an azure webapp based on a docker image that implements an image processing API and is expensive to leave active 24/7. I'm wondering if there's an easy-to-manage way to auto-scale from 0 to 1 ...
0 votes
1 answer
501 views
Configuration for Cloudflare endpoint using SSL to Kubernetes (load balancer & flask service)
Here is a summary of what I'm trying to do: I can get my flask app to respond without HTTPS/SSL. But am receiving a '503 Service Unavailable' when I am trying to use SSL. My understanding is since ...
0 votes
1 answer
171 views
hello world with flask and redis using docker networking
The sample from Docker, a "hello world" with redis and flask, seems to build fine, but, as an exercise can it be broken into two components? The redis service uses a public Redis image ...
0 votes
3 answers
248 views
Docker container host machine communication
Hi i’m trying to communicate with mongodb in the host from a flask container… So using “docker.host.internal” on the URI didn’t work (host machine is Ubuntu) Any suggestions ?? To solve this
2 votes
1 answer
626 views
Is it a bad idea to use a web app including nginx, gunicorn and flask in a single docker container? [duplicate]
I want to deploy a web app as a docker container. Currently I need to set up nginx, gunicorn and flask to realize this. There are many guides around to do it in docker but always divide it in two ...
6 votes
1 answer
915 views
What's the benefit of using Nginx to serve a Flask API on AWS?
I want to deploy a Flask API on AWS using Docker. A common way seems to be using a combination of Nginx + app server (e.g Gunicorn) + Flask app. The reason to use app server seems obvious to me. ...
0 votes
1 answer
471 views
Problem with logging in docker when using fluentd for logging of three flask apps running in a docker network behind an nginx
I am facing a strange problem with logging when I set up a network of three docker containers each running a small flask app. My python application looks as follows: from flask import Flask, request ...
-2 votes
1 answer
66 views
Where can I find a Dockerfile + required files to create a Flask/MySQL forum/webapp with users?
What I mean, is that I can simply run a command or download a .zip file that results in having a Dockerfile with the whole development environment baked in and includes not just Flask and MySQL set up,...
2 votes
0 answers
315 views
What is the preferred method of using feature flags in Flask? [closed]
I wanted to ask what the preferred tool, method or framework is when using feature flags with Flask applications. The main problem is that the most relevant result has not seen an update since 3 years,...
2 votes
0 answers
49 views
How to make fast JSON responses (or equivalent) between server app and front-end apps all running on OpenShift?
I have a system with 5 source data stores (mostly PostgreSQL databases) from which, I want to connect them all to containers running on OpenShift: A library of react applications who's components make ...