Commit a435fc6c5c20686ee6f2a42660ebb1abaa677be1
1 parent
bafd30eb
Exists in
master
and in
90 other branches
Vagrantfile: move database machine up
It needs to be the first one to come up
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
Vagrantfile
@@ -15,6 +15,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | @@ -15,6 +15,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | ||
15 | 15 | ||
16 | ips = YAML.load_file('nodes.yaml').first[1]['peers'] | 16 | ips = YAML.load_file('nodes.yaml').first[1]['peers'] |
17 | 17 | ||
18 | + config.vm.define 'database' do |database| | ||
19 | + database.vm.network 'private_network', ip: ips['database'] | ||
20 | + end | ||
18 | config.vm.define 'integration' do |integration| | 21 | config.vm.define 'integration' do |integration| |
19 | integration.vm.network 'private_network', ip: ips['integration'] | 22 | integration.vm.network 'private_network', ip: ips['integration'] |
20 | end | 23 | end |
@@ -24,9 +27,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | @@ -24,9 +27,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | ||
24 | config.vm.define 'social' do |social| | 27 | config.vm.define 'social' do |social| |
25 | social.vm.network 'private_network', ip: ips['social'] | 28 | social.vm.network 'private_network', ip: ips['social'] |
26 | end | 29 | end |
27 | - config.vm.define 'database' do |database| | ||
28 | - database.vm.network 'private_network', ip: ips['database'] | ||
29 | - end | ||
30 | config.vm.define 'reverseproxy' do |reverseproxy| | 30 | config.vm.define 'reverseproxy' do |reverseproxy| |
31 | reverseproxy.vm.network 'private_network', ip: ips['reverseproxy'] | 31 | reverseproxy.vm.network 'private_network', ip: ips['reverseproxy'] |
32 | end | 32 | end |