modif spour substitution des parametres
This commit is contained in:
parent
82659b67e9
commit
0436310086
4
docker-traefik-nginxb/Vagrantfile
vendored
4
docker-traefik-nginxb/Vagrantfile
vendored
@ -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 <<EOT
|
||||
cat > 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user