Add NPM to a shared-net, then add all new web applications to same network and reference them by hostname in the proxy creation.
networks:
shared-net:
name: shared-net
services:
npm:$EMSDK as environment var in your .profile/.zprofile/.bashrc/zshrc to make it easier laterinstall will run for a long timegit clone --depth=1 --recurse-submodules --shallow-submodules https://github.com/emscripten-core/emsdk.git
cd emsdk
export EMSDK=$(pwd) # save in you .profile or .bashrc/.zshrc
$EMSDK/emsdk install --shallow sdk-main-64bit # this takes a long timesudo apt update
sudo apt install python3 python3-venv libaugeas0
# remove if installed from package manager, use python version
# sudo apt-get remove certbot
sudo python3 -m venv /opt/certbot/
sudo /opt/certbot/bin/pip install --upgrade pip
sudo /opt/certbot/bin/pip install certbot certbot-nginx