-
Notifications
You must be signed in to change notification settings - Fork 3
/
Vagrantfile
34 lines (24 loc) · 1001 Bytes
/
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
# Vagrant file in which the virtual machine ready to run docker containers on bootup
box = "ubuntu"
url = "http://files.vagrantup.com/precise64.box"
hostname = "scrapy-gsoc2014-it"
ram = "512"
# Make sure you have the latest version of Vagrant 1.4.3 and Virtualbox 4.3.6 installed in your system before running this Vagrantfile.
Vagrant::configure("2") do |config|
# All Vagrant configuration is done here.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = box
# The url from where the 'conf.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
config.vm.box_url = url
# Hostname
config.vm.host_name = hostname
config.vm.provider :virtualbox do |vb, override|
end
# Docker Provision can automatically install docker, pull docker containers
# and configure certain containers to run on boot.
config.vm.provision "docker" do |docker|
# Pulling images
docker.pull_images "ubuntu"
end
end