
Add installation manual for CentOS and fix steps for application deploying and running under Ubuntu. Changed default port for webui from 8000 to 8008 to run it near other web applications. Removed old Procfile for production. Change-Id: I1472bf2e726078b3d12a7b978cb10ebe8cb8cc09 Closes-Bug: #1256920
22 lines
614 B
Ruby
22 lines
614 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
Vagrant.configure("2") do |config|
|
|
|
|
config.vm.define "web" do |web|
|
|
web.vm.box = "ubuntu12.04-server-amd64"
|
|
web.vm.box_url = "http://goo.gl/8kWkm"
|
|
web.vm.network "forwarded_port", guest: 8008, host: 8008, host_ip: '0.0.0.0'
|
|
web.vm.provider "virtualbox" do |vb|
|
|
vb.customize ["modifyvm", :id, "--memory", "1024"]
|
|
vb.customize ["modifyvm", :id, "--cpus", "1"]
|
|
end
|
|
web.vm.provision :chef_solo do |chef|
|
|
chef.log_level = :debug
|
|
chef.cookbooks_path = ["vagrant/cookbooks"]
|
|
chef.add_recipe "rubick"
|
|
end
|
|
end
|
|
|
|
end
|