forked from atticus88/MediaCloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
39 lines (26 loc) · 1.23 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
39
# -*- 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.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "33.33.33.10"
config.ssh.forward_agent = true
config.vm.hostname = "mediacloud-vm"
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.network :forwarded_port, guest: 443, host: 8443
config.vm.synced_folder "./", "/vagrant", id: "vagrant-root", :owner => "vagrant", :group => "www-data"
# config.vm.synced_folder "./public", "/vagrant/public", id: "vagrant-public",
# :owner => "vagrant",
# :group => "www-data",
# :mount_options => ["dmode=775","fmode=664"]
#config.vm.box_url = "http://files.vagrantup.com/precise32.box"
# config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.box_url = "ubuntu/trusty64"
config.vm.provider :virtualbox do |vb|
#vb.customize ["modifyvm", :id, "--memory", "512"]
vb.customize ["modifyvm", :id, "--memory", "1024"]
#vb.customize ["modifyvm", :id, "--memory", "4096"]
end
config.vm.provision :shell, :path => "install.sh"
end