-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
31 lines (24 loc) · 849 Bytes
/
Vagrantfile
File metadata and controls
31 lines (24 loc) · 849 Bytes
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
env_name = "buildersrecords-env"
config.vm.hostname = env_name
config.vm.box = "ubuntu/trusty64"
config.vm.provider :virtualbox do |v|
v.name = env_name
end
config.vm.provision :shell, path: "vagrant/update.sh"
config.vm.provision :shell, path: "vagrant/postgres.sh"
config.vm.provision :shell, path: "vagrant/python.sh"
config.vm.provision :shell, path: "vagrant/heroku.sh"
config.vm.provision :shell, path: "vagrant/aws.sh"
config.vm.provision :shell do |sh|
sh.inline = <<-EOF
cd ../../
mkdir uploads
chmod 777 uploads
EOF
end
config.vm.network :forwarded_port, guest: 5432, host: 5432
config.vm.network :forwarded_port, guest: 5555, host: 5555
end