This example runs 4 different docker containers:
- a
traefik
reverse proxy - 3
caddy
instances (simple/modern web server with minimal config)
The 3 applications are completely isolated from the outside network, and are neither accessible nor can access the WAN.
The HTTP routing (and eventual SSL termination) is up to traefik or your reverse proxy of choice.
Careful: this CLI script will use sudo rights, please audit it before running it!
./run.sh
This is just for serving multiple apps from one entry point: nothing about load balancing in this gist.