commit | f8879e5b0b06e0a4836ab6aa781b1b18de794f46 | [log] [tgz] |
---|---|---|
author | klaemo <clemens.stolle@gmail.com> | Thu May 22 13:06:41 2014 +0200 |
committer | klaemo <clemens.stolle@gmail.com> | Thu May 22 13:06:41 2014 +0200 |
tree | 78b6680d302c7d31d84a3fbc7c9833cc193bca0b | |
parent | 588648f9b93ae50a29e8e9ab662fce1bdc08f2d9 [diff] |
define log, data and config dirs als volumes
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
Version: CouchDB 1.5.1
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 curl http://localhost:5984
5984
of the containercouchdb
(security ftw!)mon
(reliability ftw!)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 ADD local.ini /usr/local/etc/couchdb/
and then build and run
[sudo] docker build -rm -t you/awesome-couchdb . [sudo] docker run -d -p 5984:5984 -v ~/couchdb:/usr/local/var/lib/couchdb you/awesome-couchdb