diff --git a/docker-traefik-nginxb/Vagrantfile b/docker-traefik-nginxb/Vagrantfile index 7b17364..c9a3602 100644 --- a/docker-traefik-nginxb/Vagrantfile +++ b/docker-traefik-nginxb/Vagrantfile @@ -78,7 +78,7 @@ Vagrant.configure("2") do |config| mkdir nginx2 echo "my.nginx2" > nginx2/index.html #cat > docker-compose.yml <<-EOT - cat > docker-compose.yml < docker-compose.yml <<'EOT' version: '3' services: @@ -109,7 +109,7 @@ services: - ./nginx2:/usr/share/nginx/html:ro labels: - "traefik.http.routers.nginx2.rule=Host(`my.nginx2`)" -EOT +'EOT' docker compose up -d ip -br a SHELL