kocolosk opened a new pull request #216: URL: https://github.com/apache/couchdb-docker/pull/216
## Overview This just makes it simpler to install an Erlang distribution cookie. If the COUCHDB_ERLANG_COOKIE environment variable is set, the entry point script will take its contents and write them as ~/.erlang.cookie. The `-setcookie` approach in ERL_FLAGS still works, and will take precedence over the COUCHDB_ERLANG_COOKIE. ## Testing recommendations Build the image and then start a container like ``` docker run --env COUCHDB_ERLANG_COOKIE=foobaz --env COUCHDB_USER=admin --env COUCHDB_PASSWORD=foo --env NODENAME=localhost ``` Fire up a shell on the container and you should see `/opt/couchdb/.erlang.cookie` with contents 'foobaz'. ## Checklist - [x] Code is written and works correctly; - [ ] Changes are covered by tests; - [x] Documentation reflects the changes; -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
