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
The system is not reachable until all services are up. It's not a prod-alike setup, obviously, but for dev purposes I'd not want a partial environment to be running, unless I killed services manually.