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
ERROR: for app1 dictionary update sequence element #0 has length 15; 2 is required
Traceback (most recent call last):
File "bin/docker-compose", line 6, in
File "compose/cli/main.py", line 68, in main
File "compose/cli/main.py", line 121, in perform_command
File "compose/cli/main.py", line 952, in up
File "compose/project.py", line 455, in up
File "compose/parallel.py", line 70, in parallel_execute
ValueError: dictionary update sequence element #0 has length 15; 2 is required
Failed to execute script docker-compose
quatum@quatum-H81M-H:~/Documents/compose$ nano docker-compose.yml