commit | 19ef5174b4b6cb9db4188f9b5464780627b643f1 | [log] [tgz] |
---|---|---|
author | klaemo <klaemo@fastmail.fm> | Mon Jan 26 19:32:29 2015 +0100 |
committer | klaemo <klaemo@fastmail.fm> | Mon Jan 26 19:41:10 2015 +0100 |
tree | c1fa5980db151037c747ef973311fc199d20d7f2 | |
parent | 09a9051b3bbeab2879cefb6f400a1ce67865db07 [diff] |
readme: unify stable and dev readme
Yet Another Dockerized CouchDB. Put the couch in a docker container and ship it anywhere.
If you're looking for a CouchDB with SSL support you can check out klaemo/couchdb-ssl
CouchDB 1.6.1
CouchDB 2.0 developer preview
Available in the docker index as klaemo/couchdb
[sudo] docker pull klaemo/couchdb:latest # expose it to the world on port 5984 [sudo] docker run -d -p 5984:5984 --name couchdb klaemo/couchdb curl http://localhost:5984
debian:wheezy
base image5984
of the containercouchdb
(security ftw!)The previous version of this image used to come with a process manager to keep CouchDB running. As of Docker 1.2 you can use the --restart
flag to accomplish this.
Available on the docker registry as klaemo/couchdb:2.0-dev
# expose the cluster to the world [sudo] docker run -d -p 15984:15984 -p 25984:25984 -p 35984:35984 --name couchdb klaemo/couchdb:2.0-dev curl http://localhost:15984 curl http://localhost:25984 curl http://localhost:35984
...or you can pass arguments to the binary
docker run klaemo/couchdb:2.0-dev --admin=foo:bar
You can use klaemo/couchdb
as the base image for your own couchdb instance. You might want to provide your own version of the following files:
local.ini
for CouchDBExample Dockerfile:
FROM klaemo/couchdb COPY local.ini /usr/local/etc/couchdb/
and then build and run
[sudo] docker build -t you/awesome-couchdb . [sudo] docker run -d -p 5984:5984 -v ~/couchdb:/usr/local/var/lib/couchdb you/awesome-couchdb
Please use Github issues for any questions, bugs, feature requests. :)