forked from roundware/roundware-server
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathVagrantfile
22 lines (18 loc) · 908 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- 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 = "precise64"
# URL for Ubuntu Server 12.04 LTS (Precise Pangolin) daily
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.hostname = "roundware-server"
# Configure Apache port 80 to forward to host 8080
config.vm.network "forwarded_port", guest: 80, host: 8080
# Configure IceCast port 8000 to forward to host 8000
config.vm.network "forwarded_port", guest: 8000, host: 8000
# Configure manage.py runserver port 8888 to forward to host 8888
config.vm.network "forwarded_port", guest: 8888, host: 8888
config.vm.provision "shell",
inline: "cd /vagrant; ./install.sh"
end