-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
executable file
·38 lines (29 loc) · 1.2 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.ssh.insert_key = false
config.vm.box = "puphpet/debian75-x64"
config.vm.provision "ansible" do |ansible|
ansible.playbook = ".vagrant_provisioning/playbook.yml"
# ansible.tags = "data"
# ansible.verbose = 'vvv'
end
config.vm.network "forwarded_port", guest: 8000, host: 8000
config.vm.network "forwarded_port", guest: 5432, host: 15432
config.vm.network "forwarded_port", guest: 9200, host: 9200
config.vm.network "forwarded_port", guest: 3306, host: 13306
config.vm.network "private_network", ip: "192.168.33.99"
config.vm.provider "virtualbox" do |provider|
provider.customize ["modifyvm", :id, "--memory", "1024"]
end
config.vm.provider "vmware" do |provider|
provider.customize ["modifyvm", :id, "--memory", "1024"]
end
config.vm.define "hgl" do |machine|
machine.vm.box = "puphpet/debian75-x64"
machine.vm.hostname = "hgl.vagrant"
machine.vm.network "private_network", ip: "192.168.33.99"
end
end