diff options
-rw-r--r-- | docker/couchdb/10-single-node.ini | 2 | ||||
-rw-r--r-- | docker/couchdb/Dockerfile | 5 | ||||
-rw-r--r-- | docker/docker-compose.yaml | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/docker/couchdb/10-single-node.ini b/docker/couchdb/10-single-node.ini new file mode 100644 index 0000000..c85b081 --- /dev/null +++ b/docker/couchdb/10-single-node.ini @@ -0,0 +1,2 @@ +[couchdb] +single_node=true
\ No newline at end of file diff --git a/docker/couchdb/Dockerfile b/docker/couchdb/Dockerfile new file mode 100644 index 0000000..ce3d5b2 --- /dev/null +++ b/docker/couchdb/Dockerfile @@ -0,0 +1,5 @@ +FROM couchdb:latest + +COPY 10-single-node.ini /opt/couchdb/etc/local.d/10-single-node.ini + +EXPOSE 5984 diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 3420709..e89964d 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -17,7 +17,7 @@ services: - couchdb couchdb: - image: couchdb + build: ./couchdb/ ports: - "5984:5984" environment: |