-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile-withbox
36 lines (28 loc) · 1.04 KB
/
Vagrantfile-withbox
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
# -*- 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|
# use ubuntu trusty64 box (v14)
config.vm.box = "angular-tooling.box"
#config.vm.box = "ubuntu/trusty64"
# give a hostname to the box
config.vm.hostname = "angular-toolbox"
# forward http-server port to guest
# Dev http-server
config.vm.network "forwarded_port", guest: 8000, host: 8000
# Karma http-server
config.vm.network "forwarded_port", guest: 9876, host: 9876
# http-server runningin docker container
config.vm.network "forwarded_port", guest: 80, host: 1080
# grunt serve
config.vm.network "forwarded_port", guest: 9000, host: 9000
# livereload
config.vm.network "forwarded_port", guest: 35729, host: 35729
# Karma http-server with yeoman
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.provider "virtualbox" do |v|
v.memory = 1024
v.name = "angular-toolbox2"
end
end