next change | 299:f2a7a39d2417 |
previous change | 38:91e692b46f92 |
Permissions: -rw-r--r--
8
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
Vagrant.configure("2") do |config| |
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
config.vm.box = "ubuntu/trusty64" |
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
|
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
config.vm.network "private_network", ip: "192.168.33.111" |
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
config.vm.network "forwarded_port", guest: 443, host: 21443 |
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
|
38
38:91e692b46f92
provision: run as user 'vagrant' by default to remove synced_folder hack
Anton Shestakov <av6@dwimlabs.net>
previous changes: 8:69903c87485c
line |
diff
|
config.vm.synced_folder "..", "/vagrant", mount_options: ["dmode=755,fmode=644"] |
8
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
|
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
config.vm.provider "virtualbox" do |vb| |
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
vb.customize ["modifyvm", :id, "--cpus", "1"] |
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
vb.customize ["modifyvm", :id, "--memory", "256"] |
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
end |
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
|
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
config.vm.provision "ansible" do |ansible| |
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
ansible.playbook = "provision/playbook.yml" |
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
#ansible.tags = "common,nginx,prosody,turnserver,certs,tram-im" |
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
#ansible.verbose = "vv" |
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
end |
8:69903c87485c
contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
end |