Skip to content

single_node=true setting in local.ini does not auto-create system databases. #3257

Answered by wohali
willemodendaal asked this question in Q&A
Discussion options

You must be logged in to vote

I cannot reproduce this. With the two files provided in a temp directory:

$ cat local.ini
[couchdb]
single_node=true

[couch_peruser]

[chttpd]

[httpd]

[couch_httpd_auth]

[ssl]

[vhosts]

[admins]
$ cat mycustom.ini
[couchdb]
single_node=true

[httpd]
enable_cors = true

[chttpd]
port = 31986
$ cat Dockerfile
FROM couchdb:3.1
WORKDIR /src
COPY ./mycustom.ini .
COPY ./local.ini .

RUN cp mycustom.ini /opt/couchdb/etc/local.d/
RUN cp local.ini /opt/couchdb/etc/
$
$
$ docker build -t testy .
Sending build context to Docker daemon  4.096kB
Step 1/6 : FROM couchdb:3.1
3.1: Pulling from library/couchdb
bb79b6b2107f: Pull complete
64047dc3beae: Pull complete
1bf5219be029: Pull complete
fe1333…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@willemodendaal
Comment options

@willemodendaal
Comment options

@kocolosk
Comment options

@willemodendaal
Comment options

Answer selected by wohali
Comment options

You must be logged in to vote
1 reply
@guanfeix
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #3257 on November 11, 2020 00:35.