Download:
child 9:35c33b616cb1
parent 7:f7a4a735f291
8:69903c87485c
Anton Shestakov <av6@dwimlabs.net>, Sat, 19 Mar 2016 01:07:55 +0800
contrib: Vagrantfile for development

1 файлов изменено, 23 вставок(+), 0 удалений(-) [+]
contrib/Vagrantfile file | annotate | diff | comparison | revisions
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/Vagrantfile Sat Mar 19 01:07:55 2016 +0800
@@ -0,0 +1,23 @@
+Vagrant.configure("2") do |config|
+ config.vm.box = "ubuntu/trusty64"
+
+ config.vm.network "private_network", ip: "192.168.33.111"
+ config.vm.network "forwarded_port", guest: 443, host: 21443
+
+ # disabled because we don't need it
+ config.vm.synced_folder ".", "/vagrant", disabled: true
+
+ # disabled because user/group don't exist on the first run yet
+ config.vm.synced_folder "..", "/home/tram-im/tram-im/", owner: "tram-im", group: "tram-im", mount_options: ["dmode=755,fmode=644"], disabled: true
+
+ config.vm.provider "virtualbox" do |vb|
+ vb.customize ["modifyvm", :id, "--cpus", "1"]
+ vb.customize ["modifyvm", :id, "--memory", "256"]
+ end
+
+ config.vm.provision "ansible" do |ansible|
+ ansible.playbook = "provision/playbook.yml"
+ #ansible.tags = "common,nginx,prosody,turnserver,certs,tram-im"
+ #ansible.verbose = "vv"
+ end
+end