You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/02/09 04:22:40 UTC

[GitHub] [couchdb-docker] kocolosk opened a new pull request #216: Listen for COUCHDB_ERLANG_COOKIE and write it down

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: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-docker] kocolosk merged pull request #216: Listen for COUCHDB_ERLANG_COOKIE and write it down

Posted by GitBox <gi...@apache.org>.
kocolosk merged pull request #216:
URL: https://github.com/apache/couchdb-docker/pull/216


   


-- 
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: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org