tweak Dockerfile
1 file changed
tree: dc9b8e456bf0bf39072c890771247421e2144eae
  1. base/
  2. build
  3. couchdb-config
  4. Dockerfile
  5. local.ini
  6. Readme.md
  7. supervisord.conf
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

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" .

Features

  • exposed on port 5984 of the container
  • exposes database and config files as volumes
    • makes it easy to upgrade/fork