My project attempts to run multiple Dockerized (not limited) Dash apps which all use Flask with HTTP WSGI served by Gunicorn, Proxied by Nginx. This has been outlined somewhat by Plot.ly/Dash founder @chriddyp and others. A requirement is to serve the Dash apps via HTTPS which can easily be done with Letsencrypt certs that are straightforward to install.
Problem: Should this be divided into multiple Docker containers, ie: Nginx on main container, Dash/Flask/Gunicorn on each app container and the SSL certs on the front-end proxy (Nginx container)?
Would this require Docker SDN (software-defined-networking) approaches to make it work?
This is to run on my plain EC2 in AWS. (Not Beanstalk)
Any guidance will be appreciated. I will share everything on Github once it is working.