Jason Jarrett created COUCHDB-3290:
--------------------------------------
Summary: Setting up Single User Mode for CouchDB 2 and Docker
Key: COUCHDB-3290
URL: https://issues.apache.org/jira/browse/COUCHDB-3290
Project: CouchDB
Issue Type: Question
Reporter: Jason Jarrett
Reading docs
[here|http://docs.couchdb.org/en/2.0.0/install/index.html#single-node-setup] it
seems there are some steps to setup Single Node Setup.
Here's what I tried
1. in a {{Dockerfile}} where I used to have just {{FROM couchdb}}, I'm
replacing it with {{FROM klaemo/couchdb:latest}}
Given the following docker-compose.yml
{code}
version: '2'
services:
couchdb:
image: klaemo/couchdb:latest
ports:
- "5984:5984"
volumes:
- ./data-test:/opt/couchdb/data
environment:
VIRTUAL_HOST: mydomain.com
COUCHDB_USER: admin
COUCHDB_PASSWORD: password
{code}
2. {{docker-compose up}}
Everything appears to start,
1. Browse to {{http://localhost:5984/_utils/#setup/singlenode}}
2. Login with {{adim/password}} credentials defined above in docker-compose
3. Re-enter user/password and click {{Configure Node}}
Nothing happens... (on the U.I. level)
open up chrome devtools and I see a POST to
{{http://localhost:5984/_cluster_setup}} with following response:
{code}
{"error":"bad_request","reason":"Cluster is already enabled"}
{code}
I'm trying to figure figure the best steps to migrate an existing Couchdb 1.6
over to 2, so any help there would be great - but why can we not get the Single
User Mode out of the box with couchdb?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)