diff options
author | Kristofer Hallin <kristofer@sunet.se> | 2021-10-29 09:46:34 +0200 |
---|---|---|
committer | Kristofer Hallin <kristofer@sunet.se> | 2021-10-29 09:46:34 +0200 |
commit | dd0664047ca0843123079fc7e0dfe2f1f5c87e1b (patch) | |
tree | 370bb3602e9e0795dcce3941ea0a4707db0dbb02 /docker | |
parent | 415044e7087ff89efc15e1babf84dd963c617175 (diff) |
Initialize CouchDB properly, now _users should be created.
Diffstat (limited to 'docker')
-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: |