-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
30 lines (21 loc) · 1.01 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
#vagrant plugin install vagrant-hostsupdater
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty32"
config.vm.provider "virtualbox" do |vb|
vb.customize [
"modifyvm", :id,
"--memory", 1536
]
end
config.vm.network :private_network, ip: "192.168.3.10"
config.vm.hostname = "project.int"
config.hostsupdater.aliases = ["project.int", "my.project.int"]
# config.vm.provision "file", source: "./vagrant-provision/tempaltes/nginx-host.conf", destination: "nginx-host.conf"
# config.vm.provision "file", source: "./vagrant-provision/tempaltes/php-fpm-pool.conf", destination: "php-fpm-pool.conf"
config.vm.provision "shell", path: "./vagrant-provision/vagrant-install-software.sh"
config.vm.provision "shell", path: "./vagrant-provision/vagrant-setup-dev-environment.sh"
end