tweak config
1 file changed
tree: eb93d96c50fde650783a89ed5f97d80c79cd73e4
  1. base/
  2. opt/
  3. build
  4. Dockerfile
  5. Readme.md
Readme.md

YADC

Yet Another Dockerized CouchDB. Put the couch in a docker container and ship it anywhere.

Version: CouchDB 1.5.0

Run

Available in the docker index as klaemo/couchdb

[sudo] docker pull klaemo/couchdb

# expose it to the world on port 5984
[sudo] docker run -d -p 5984:5984 -name couchdb klaemo/couchdb

Features

  • exposes couchdb on port 5984 of the container
  • exposes database and config files as volumes
    • easy to upgrade/fork
    • fast
  • keeps couchdb running with supervisord (crashed couch gets restarted automatically)

TODO

  • don't run couch es root once docker fixes permissions for volumes

Build

You can make your changes to couchdbs config in local.ini. It will be added to the container.

cd /path/to/klaemo/docker-couchdb
[sudo] docker build -t "$NAME" .