--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/Vagrantfile Sat Mar 19 01:07:55 2016 +0800
+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"]
+ config.vm.provision "ansible" do |ansible|
+ ansible.playbook = "provision/playbook.yml"
+ #ansible.tags = "common,nginx,prosody,turnserver,certs,tram-im"
+ #ansible.verbose = "vv"