I want to add domains and ssl certs to some of these docker containers so I can access them over the internet. For example, I would like my own mempool instance to be available at a domain like mempool.example.com. I have a nginx docker that runs on port 443 and I have a certbot docker which can renew certs and create more certs for SSL.
What network on docker do I need nginx to be on and how do I access these docker containers? I would like to get this to work so I can hook up my electrs server to my lightning wallets, for example.