Questions tagged [flask]

Use this tag if a question is about flask

Filter by
Sorted by
Tagged with
0
votes
0answers
60 views

How to process output from a “hello world” python script?

This example builds fine: root@mordor:~/gitrepo/path-to-kubernetes/src/python/helloworld# root@mordor:~/gitrepo/path-to-kubernetes/src/python/helloworld# ll total 16 drwxr-xr-x 2 root root 4096 Oct ...
0
votes
1answer
40 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
0answers
147 views

Docker/Web Noob trying to get a Flask MongoDB app to work with a Meinheld-Gunicorn-Flask Docker image

I found this: https://github.com/tiangolo/meinheld-gunicorn-flask-docker after multiple failed attempts to follow along various tutorials on the web to containerize my app to build a CI pipeline. My ...
0
votes
3answers
80 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
1answer
146 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 ...
4
votes
1answer
486 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
1answer
256 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
0answers
37 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
1answer
35 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
0answers
245 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
0answers
27 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 ...