Hero Image
- smdion

Overview: Reverse Proxy with Docker


Lets say you have a number of different web services running on your homelab: Sonarr, CouchPotato, NZBGet, Maraschino, Codiad, or a number of other dockers.  These are all running on a bunch of different ports: Sonarr is IPADDRESS:8989, Couchpotato is IPADDRESS:5000, NZBGet is IPADDRESS:6789.

If you want external access to these, you need to open up a port for every single service. You need to manage certificates for each service individually and keep track of what port they are on so you can access them

What if there was a way where you could setup a Domain, SSL, and have all the services come in based on a URL (IE: https://www.domain.com/sonarr)


There are a few parts that will need to be setup.  Each will be broken down into step by step ways to get this working.

  1. Set up a domain and dynamic IP updates for your server – Guide
  2. Installation and configuration of the Apacheweb docker to manage all these services – Guide
  3. Adding user/pass authentication across multiple services thru .htaccess – Guide
  4. Adding custom SSL Certificates to a working configuration – Guide