Questions tagged [flask]
Use this tag if a question is about flask
11
questions
0
votes
1
answer
13
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
383
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
126
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
174
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
447
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
784
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
426
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
...
1
vote
0
answers
52
views
Google cloud container running 40x slower then on aws [closed]
i have a flask api tunning a pytorch predict inside a kubernetes cluster.
I deployed it on AWS and got good results.
I have tried on GKE and had good results, but when im deploying my pods on a high ...
-2
votes
1
answer
41
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
292
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
37
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 ...