328:c6851321a39e default tip
Anton Shestakov <av6@dwimlabs.net>, 2018-07-14
calls: use srcObject instead of URL.createObjectURL() and revokeObjectURL() Not sure about srcObject = null, needs to be tested.

previous change 304:637853c693a1

contrib/Vagrantfile

Permissions: -rw-r--r--

Other formats: Feeds:
8
8:69903c87485c contrib: Vagrantfile for development
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
Vagrant.configure("2") do |config|
304
304:637853c693a1 provision: update vagrant image to Xenial
Anton Shestakov <av6@dwimlabs.net>
previous changes: 299:f2a7a39d2417
line | diff
config.vm.box = "ubuntu/xenial64"
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.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
304
304:637853c693a1 provision: update vagrant image to Xenial
Anton Shestakov <av6@dwimlabs.net>
previous changes: 299:f2a7a39d2417
line | diff
config.vm.provision "shell", inline: $setup
304:637853c693a1 provision: update vagrant image to Xenial
Anton Shestakov <av6@dwimlabs.net>
previous changes: 299:f2a7a39d2417
line | diff
8
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"
299
299:f2a7a39d2417 contrib: add shortcut for providing --diff to ansible
Anton Shestakov <av6@dwimlabs.net>
previous changes: 38:91e692b46f92
line | diff
#ansible.raw_arguments = ["--diff"]
8
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
304
304:637853c693a1 provision: update vagrant image to Xenial
Anton Shestakov <av6@dwimlabs.net>
previous changes: 299:f2a7a39d2417
line | diff
304:637853c693a1 provision: update vagrant image to Xenial
Anton Shestakov <av6@dwimlabs.net>
previous changes: 299:f2a7a39d2417
line | diff
$setup = <<END
304:637853c693a1 provision: update vagrant image to Xenial
Anton Shestakov <av6@dwimlabs.net>
previous changes: 299:f2a7a39d2417
line | diff
export DEBIAN_FRONTEND=noninteractive
304:637853c693a1 provision: update vagrant image to Xenial
Anton Shestakov <av6@dwimlabs.net>
previous changes: 299:f2a7a39d2417
line | diff
apt-get -yq update
304:637853c693a1 provision: update vagrant image to Xenial
Anton Shestakov <av6@dwimlabs.net>
previous changes: 299:f2a7a39d2417
line | diff
apt-get install -y python
304:637853c693a1 provision: update vagrant image to Xenial
Anton Shestakov <av6@dwimlabs.net>
previous changes: 299:f2a7a39d2417
line | diff
END