example/Vagrantfile in vagrant-docker-compose-1.0.0 vs example/Vagrantfile in vagrant-docker-compose-1.1.0

- old
+ new

@@ -8,12 +8,14 @@ end Vagrant.configure("2") do |config| config.vm.box = "hashicorp/precise64" - config.vm.network(:forwarded_port, guest: 8080, host: 8080) + port = 9090 + + config.vm.network(:forwarded_port, guest: port, host: port) config.vm.network(:forwarded_port, guest: 3333, host: 3333) config.vm.provision :shell, inline: "apt-get update" config.vm.provision :docker - config.vm.provision :docker_compose, yml: ["/vagrant/docker-compose-base.yml","/vagrant/docker-compose.yml"], rebuild: true, project_name: "myproject", run: "always" + config.vm.provision :docker_compose, env: { "PORT" => "#{port}" }, yml: ["/vagrant/docker-compose-base.yml","/vagrant/docker-compose.yml"], rebuild: true, project_name: "myproject", run: "always" end