-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
46 lines (37 loc) · 1.44 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# 2014+ Copyright (c) Anton Tiurin <[email protected]>
# All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
Vagrant.configure("2") do |config|
config.vm.define "Elliptics"
config.vm.box = "precise64-elliptics"
config.vm.box_url = "https://github.com/cocaine/cocaine-vagrant/releases/download/v0.11/precise64-docker.box"
# forward dnet_ioserv port
config.vm.network :forwarded_port, guest: 1025, host: 1025
# forward rift port
config.vm.network :forwarded_port, guest: 8080, host: 8080
config.vm.provider "virtualbox" do |v|
v.memory = 1024
end
config.vm.provision "file",
source: "repo.reverbrain.list",
destination: "~/repo.reverbrain.list"
config.vm.provision "file",
source: "ioserv.json",
destination: "~/ioserv.json"
config.vm.provision "file",
source: "server-config.json",
destination: "~/server-config.json"
config.vm.provision "shell",
path: "install.sh"
end