I have a ddev-Drupal project and want to add web-routing for my python-flask project. Ideally something like this: https://github.com/docker/awesome-compose/tree/master/flask-redis - or maybe with gunicorn? In the end i want the flask-app to run at http:myproject.ddev.site:5000 or similar...
Add Flask-WSGI routes to DDEV-Drupal project
38 Views Asked by dotist At
1
There are 1 best solutions below
Related Questions in DOCKER
- sqlplus myusername/mypassword@ORCL not working with Oracle on Docker
- Golang == Error: OCI runtime create failed: unable to start container process: exec: "./bin": stat ./bin: no such file or directory: unknown
- Only the first SQL script gets executed inside Docker Postgres container
- Retrieve the Dockerfile configuration from the Kubernetes and also change container Java parameter?
- Polars with Rust: Out of Memory Error when Processing Large Dataset in Docker Using Streaming
- Compiling eBPF program in Docker fails due to missing '__u64' type
- AttributeError: module 'numba' has no attribute 'generated_jit'
- Phoenix in a docker dev environment - generated code can't be saved from VSCode
- Docker on Multipass VMs: Connecting worker nodes to swarm results in rcp error
- Facing error in creating image of my react+vite project . Dockerfile error
- NextJS Docker build fails: fetch failed ECONNREFUSED
- Docker container unable to make HTTPS requests to external API
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- Connecting to Postgres running in a Docker container using psql
- Can't connect to local postgresql server from my docker container
Related Questions in FLASK
- How to store a date/time in sqlite (or something similar to a date)
- Authenticate Flask rest API
- How can I update my Python app so my Flask function sends information to JavaScript without breaking the loop?
- How to create a route on a web map (Flask) using folium and osmnx?
- for some reallly odd reason css doesen't apply
- Sigma.JS custom rendering
- Unable to find any supported Python versions
- Flask Application Testing with pytest Returns 404 for Routes
- flask keep a user logged in across browser sessions
- database login.py and register.py error showing 404 file not found and doesn't work
- Synology DSM 7.2: how do I fix a virtual server error page for a Flask application?
- Frontend fetching data from unexpected localhost address despite proxy configuration
- Trouble Extracting Request Body in Flask-Lambda Application Deployed on AWS Lambda via AWS SAM
- Page refreshes on POST request
- Handling Irrelevant Uploads in Flask Application for Bone Fracture Detection
Related Questions in WSGI
- Synology DSM 7.2: how do I fix a virtual server error page for a Flask application?
- Issue with Django --> Apache WSGI deployment
- Issues while deploying flask app using apache2
- My Add to cart button not calling out product id
- Apache hosted Python Flask web app running in Rocky Linux 9 not able execute shutdown command
- Is it fine to omit "application server"(e.g. Gunicorn) part when deploying a Python Backend(e.g. Flask) application on a webserver?
- code 400, message Bad request version in Python socketio server
- How to host via Apache, an API in Flask, and a website in React?
- Django WSGI and ASGI via Passenger confusion
- Trouble sending data from Socket.IO server to client in Python
- Add Flask-WSGI routes to DDEV-Drupal project
- DDEV add a flask-wsgi 5000 route to existing drupal web build
- How to use a production WSGI server for Firebase Cloud Functions in Python
- Flask won´t run my code and is stuck on index page
- When using Session Variable to store username. WSGI application 'CMS.wsgi.application' could not be loaded; Error importing module
Related Questions in DDEV
- Modifying local DDEV Drupal settings.php for live server?
- unable to enable php-gmp for php7.4 with ddev
- Accessing webpack dev server output with specific port in ddev / docker container
- Private files in a DDEV Drupal environment
- How can I add gatsby-cli or sudo or other packages to a DDEV-Local add-on service like nodejs?
- Moving Drupal DDev containers / projects to a new computer
- DDEV to XAMPP connection configuration
- DDEV: Can't Access Site Via Hostname, hosts File Not Updated
- Projects not starting after DDEV update?
- Include css file with changing hash number via includeCss
- Vite main.js file not found error in console
- ddev snapshot fails with bash "Is a directory" error
- ddev and vscode for Drupal, what should I use for php.validate.executablePath?
- How to debug Behat test with Xdebug in PhpStorm?
- CORS still blocked between two DDEV sites
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
My recommendation would be to use two projects, one for your Drupal PHP project, and the other for your flask project.
They can easily communicate with each other as described in the FAQ
The Drupal project is just standard, easy setup, per the quickstart docs.
Your Flask project can also be set up using the quickstart docs
Now wire them together and it should be OK. Come on by the DDEV Discord if you need more interactive help. This is an unusual configuration!
Edit: I'm not sure why you'd be using flask for Redis. Have you checked out the
ddev-redisadd-on? https://github.com/ddev/ddev-redis