wohali commented on issue #45: Change nodename to be node1@<nodename> to be in 
line with cluster wizard
URL: https://github.com/apache/couchdb-docker/pull/45#issuecomment-347407749
 
 
   Again if you're setting the ip address to 15984, it'll be assuming `node1` 
as the name:
   
   
https://github.com/apache/couchdb-setup/blob/9fd7f448065b4eb29910c9e14d1ac89af589e3c1/src/setup.erl#L273-L285
   
   Thankfully this is override-able by passing the `"name": "couchdb"` 
key-value pair when calling the _cluster_setup endpoint with the `"action": 
"add_node"` action.
   
   
https://github.com/apache/couchdb-setup/blob/9fd7f448065b4eb29910c9e14d1ac89af589e3c1/src/setup.erl#L245
   
   http://docs.couchdb.org/en/2.1.1/cluster/setup.html#the-cluster-setup-api 
probably needs updating, you could open a PR against the 
apache/couchdb-documentation repo to improve info on this one if you want.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to