couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kla...@apache.org
Subject [2/3] couchdb-docker git commit: 1.6: only log to stdout
Date Mon, 25 Jan 2016 16:17:22 GMT
1.6: only log to stdout


Project: http://git-wip-us.apache.org/repos/asf/couchdb-docker/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-docker/commit/1ca92900
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-docker/tree/1ca92900
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-docker/diff/1ca92900

Branch: refs/heads/master
Commit: 1ca92900210c8523c0a5d9ff0e10817846f05a99
Parents: 34a7ca2
Author: klaemo <klaemo@fastmail.fm>
Authored: Mon Jan 25 14:24:47 2016 +0100
Committer: klaemo <klaemo@fastmail.fm>
Committed: Mon Jan 25 17:16:44 2016 +0100

----------------------------------------------------------------------
 1.6.1/Dockerfile | 5 +++--
 README.md        | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-docker/blob/1ca92900/1.6.1/Dockerfile
----------------------------------------------------------------------
diff --git a/1.6.1/Dockerfile b/1.6.1/Dockerfile
index 9b2b900..91bc6ab 100644
--- a/1.6.1/Dockerfile
+++ b/1.6.1/Dockerfile
@@ -71,12 +71,13 @@ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4
     /usr/local/lib/couchdb /usr/local/etc/couchdb \
     /usr/local/var/lib/couchdb /usr/local/var/log/couchdb /usr/local/var/run/couchdb \
   && mkdir -p /var/lib/couchdb \
-  && sed -e 's/^bind_address = .*$/bind_address = 0.0.0.0/' -i /usr/local/etc/couchdb/default.ini
+  && sed -e 's/^bind_address = .*$/bind_address = 0.0.0.0/' -i /usr/local/etc/couchdb/default.ini
\
+  && sed -e 's/\/usr\/local\/var\/log\/couchdb\/couch.log$/\/dev\/null/' -i /usr/local/etc/couchdb/default.ini
 
 COPY ./docker-entrypoint.sh /
 
 # Define mountable directories.
-VOLUME ["/usr/local/var/log/couchdb", "/usr/local/var/lib/couchdb", "/usr/local/etc/couchdb"]
+VOLUME ["/usr/local/var/lib/couchdb"]
 
 EXPOSE 5984
 WORKDIR /var/lib/couchdb

http://git-wip-us.apache.org/repos/asf/couchdb-docker/blob/1ca92900/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 373d6c5..ac741ec 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ If you're looking for a CouchDB with SSL support you can check out [klaemo/couch
 * built on top of the solid and small `debian:jessie` base image
 * exposes CouchDB on port `5984` of the container
 * runs everything as user `couchdb` (security ftw!)
-* docker volumes for data, logs and config
+* docker volume for data
 
 ## Run (stable)
 


Mime
View raw message