Fix the installer runs in the Vagrantfile
Change-Id: Ia77961372bc7fd2bf52cba502a3b43bcaee04334
This commit is contained in:
parent
1c03b9a673
commit
7e8d85658b
|
@ -29,7 +29,7 @@ Vagrant.configure(2) do |config|
|
||||||
config.vm.define "services", primary: true do |node|
|
config.vm.define "services", primary: true do |node|
|
||||||
node.vm.hostname= "services"
|
node.vm.hostname= "services"
|
||||||
node.vm.network :private_network, ip: '10.0.88.10'
|
node.vm.network :private_network, ip: '10.0.88.10'
|
||||||
config.vm.provision "shell",
|
node.vm.provision "shell",
|
||||||
inline: "/vagrant/contrib/install.sh -i messaging -i database"
|
inline: "/vagrant/contrib/install.sh -i messaging -i database"
|
||||||
node.vm.network 'forwarded_port', guest: 15_672, host: 15_672
|
node.vm.network 'forwarded_port', guest: 15_672, host: 15_672
|
||||||
end
|
end
|
||||||
|
@ -37,16 +37,16 @@ Vagrant.configure(2) do |config|
|
||||||
config.vm.define "api" do |node|
|
config.vm.define "api" do |node|
|
||||||
node.vm.hostname= "api"
|
node.vm.hostname= "api"
|
||||||
node.vm.network :private_network, ip: '10.0.88.20'
|
node.vm.network :private_network, ip: '10.0.88.20'
|
||||||
config.vm.provision "shell",
|
node.vm.provision "shell",
|
||||||
inline: "/vagrant/contrib/install.sh -i faafo -d 'mysql://faafo:password@%10.0.88.10:3306/faafo' -m 'amqp://guest:guest@10.0.88.10:5672/'"
|
inline: "/vagrant/contrib/install.sh -i faafo -r api -d 'mysql://faafo:password@10.0.88.10:3306/faafo' -m 'amqp://guest:guest@10.0.88.10:5672/'"
|
||||||
node.vm.network 'forwarded_port', guest: 80, host: 1080
|
node.vm.network 'forwarded_port', guest: 80, host: 1080
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.define "worker" do |node|
|
config.vm.define "worker" do |node|
|
||||||
node.vm.hostname= "worker"
|
node.vm.hostname= "worker"
|
||||||
node.vm.network :private_network, ip: '10.0.88.30'
|
node.vm.network :private_network, ip: '10.0.88.30'
|
||||||
config.vm.provision "shell",
|
node.vm.provision "shell",
|
||||||
inline: "/vagrant/contrib/install.sh -i faafo -r api -r worker -r demo -d 'mysql://faafo:password@%10.0.88.10:3306/faafo' -m 'amqp://guest:guest@10.0.88.10:5672/' -e 'http://10.0.88.20'"
|
inline: "/vagrant/contrib/install.sh -i faafo -r worker -m 'amqp://guest:guest@10.0.88.10:5672/' -e 'http://10.0.88.20'"
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue