forked from laravel/settler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
31 lines (24 loc) · 987 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
29
30
31
VAGRANTFILE_API_VERSION = '2'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Configure The Box
config.vm.box = 'parallels/ubuntu-14.04'
config.vm.hostname = 'homestead'
# Don't Replace The Default Key https://github.com/mitchellh/vagrant/pull/4707
config.ssh.insert_key = false
config.vm.provider :parallels do |v|
v.cpus = 1
v.memory = 2048
v.update_guest_tools = true
end
# Configure Port Forwarding
config.vm.network 'forwarded_port', guest: 80, host: 8000
config.vm.network 'forwarded_port', guest: 3306, host: 33060
config.vm.network 'forwarded_port', guest: 5432, host: 54320
config.vm.network 'forwarded_port', guest: 35729, host: 35729
# Disable the default /vagrant share
config.vm.synced_folder './', '/vagrant', disabled: true
# Run The Base Provisioning Script
config.vm.provision 'shell', path: './scripts/update.sh'
config.vm.provision :reload
config.vm.provision 'shell', path: './scripts/provision.sh'
end