https://github.com/chrisekelley/vagrant-couchdb
Vagrantfile for spinning up VM with couchdb
https://github.com/chrisekelley/vagrant-couchdb
Last synced: 3 months ago
JSON representation
Vagrantfile for spinning up VM with couchdb
- Host: GitHub
- URL: https://github.com/chrisekelley/vagrant-couchdb
- Owner: chrisekelley
- Created: 2014-01-28T10:47:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-28T11:49:10.000Z (over 11 years ago)
- Last Synced: 2025-01-20T06:24:44.696Z (4 months ago)
- Size: 121 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vagrantfile for couchdb #
This vangrantfile is for use with my [chef-cookbook recipe repository](https://github.com/chrisekelley/chef-cookbooks),
which builds couchdb 1.5 from source.The source from this Vagrantfile is from the [CouchDB source](https://apache.googlesource.com/couchdb/+/1.5.0/Vagrantfile).
It installs erlang and other development apps. My modification of this file points to my recipe for building CouchDB from source.
This recipe includes providers for amazon, rackspace, and others; I'm using the virtualbox provider. You don't have to do anything
special to use the virtualbox provider. Just run "vagrant up" and it will install the needful.## Couchdb
The Vagrantfile does a port forwarding so that you may access the VM couchdb instance from your browser at
http://localhost:5999/_utils/
Code:
config.vm.network :forwarded_port, guest: 5984, host: 5999
## Squid proxy
chef.add_recipe("squid")
Add [vagrant-proxyconf](https://github.com/tmatilai/vagrant-proxyconf) plugin to Vagrant.
Add the following code to your Vagrantfile:
if Vagrant.has_plugin?("vagrant-proxyconf")
config.proxy.http = "http://10.0.2.15:3128/"
config.proxy.https = "http://10.0.2.15:3128/"
# config.proxy.no_proxy = "localhost,127.0.0.1,.example.com"
end