2014-12-30 05:45:30 +00:00
|
|
|
# -*- 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 = "redash/dev"
|
|
|
|
config.vm.synced_folder "./", "/opt/redash/current"
|
|
|
|
config.vm.network "forwarded_port", guest: 5000, host: 9001
|
2016-05-03 21:15:29 +00:00
|
|
|
config.vm.provision "shell" do |s|
|
|
|
|
s.inline = "/opt/redash/current/install_requirements.sh"
|
|
|
|
end
|
|
|
|
config.vm.provision "shell" do |s|
|
|
|
|
s.inline = "/opt/redash/current/vagrant_provision.sh"
|
|
|
|
s.privileged = false
|
|
|
|
end
|
2014-12-30 05:45:30 +00:00
|
|
|
end
|