Multiple dash apps on a VPS

Hi everyone, I’ve made three dash apps (dashboard for covid-19), and I’m hosting them on a Ubuntu server VPS, each of them inside a Docker container.
I access the three dashboards using 3 different ports:

dashboard1: :8050
dashboard2: :8051
dashboard3: :8052

Now, I’m searching a better way (more disk space efficient) to host these three dashboard, and also I want to add an SSL certificate to them.
Any advice, please?

The best way IMO is to use a reverse proxy e.g. with NGINX. To omit to complex rewrites I would serve the apps on different paths.

app = dash.Dash(__name__, 

The serve path has to begin and end with /.

Then you can serve the apps at different paths. Here is the NGINX configuration:

location /mint/ {
    client_max_body_size    10G;
    proxy_pass       http://localhost:9999;

    proxy_http_version 1.1;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $host;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_read_timeout 86400;

This is for an app that is served at localhost:9999/mint/. For https you can setup NGINX with letsencrypt. You will have to google a bit to get all the pieces together.