-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathVagrantfile
More file actions
24 lines (18 loc) · 905 Bytes
/
Vagrantfile
File metadata and controls
24 lines (18 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Vagrant.configure("2") do |config|
config.vm.box = "debian/stretch64"
config.vbguest.auto_update = true
config.vm.hostname = "insecure.local";
config.vm.network :private_network, ip: "192.168.30.99"
config.vm.network :forwarded_port, guest: 80, host:8000, auto_correct: true
config.vm.network :forwarded_port, guest: 3306, host:3306, auto_correct: true
config.vm.network :forwarded_port, guest: 1338, host:1338, auto_correct: true
config.vm.synced_folder "./", "/var/www", id: "vagrant", :group=>'www-data', :mount_options=>['dmode=777,fmode=775']
#config.vm.provision "ansible_local" do |ansible|
# ansible.playbook = "provisioners/playbook.yml"
# ansible.inventory_path = "provisioners/ansible_hosts"
# ansible.limit = "all"
#end
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", 2048]
end
end