-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
30 lines (22 loc) · 1.02 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 :
Vagrant.configure("2") do |config|
config.vm.box = "scotch/box"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "scotchbox"
config.vm.synced_folder ".", "/var/www/public", :mount_options => ["dmode=777", "fmode=666"]
#config.vm.synced_folder "../Aperture2Global", "/Aperture2Global", :mount_options => ["dmode=777", "fmode=666"]
# Optional NFS. Make sure to remove other synced_folder line too
#config.vm.synced_folder ".", "/var/www", :nfs => { :mount_options => ["dmode=777","fmode=666"] }
config.vm.network "forwarded_port", guest: 80, host: 8080
#config.vm.network "forwarded_port", guest: 9200, host: 9200
#config.vm.network "forwarded_port", guest: 3306, host: 3306
config.vm.provision :shell,
inline: "/bin/sh /var/www/public/bootstrap.sh",
keep_color: true,
privileged: false
#config.vm.provision :shell,
# inline: "/bin/sh /var/www/public/provision/elasticsearch.sh",
# keep_color: true,
# privileged: false
end