forked from pachno/pachno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
28 lines (22 loc) · 942 Bytes
/
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Configure a single virtual machine.
config.vm.box = "bento/debian-9.6"
config.vm.hostname = "pachno-dev"
# Forward ports for accessing the web server.
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 443, host: 8443
# Forward ports for accessing the database.
config.vm.network "forwarded_port", guest: 3306, host: 13306
# Forward ports for accessing the LDAP server.
config.vm.network "forwarded_port", guest: 389, host: 8389
config.vm.network "forwarded_port", guest: 636, host: 8636
# Use Ansible for provisining the virtual machine. Use local provisioning in
# order not to polute the user's host system.
config.vm.provision "ansible_local" do |ansible|
ansible.playbook = "ansible/provision.yml"
ansible.install_mode = "pip"
ansible.version = "2.8.0"
end
end