endyjasmi commented on issue #73: Configuration from docker config or secret?
URL: https://github.com/apache/couchdb-docker/issues/73#issuecomment-379983073
 
 
   @wohali After I `-setcookie monster` to all the instance, it will auto 
recover the cluster after the configuration update.
   
   On the config and secret side of thing, I am currently mounting the `.ini` 
on file level rather than on `etc/` directory level.
   
   As for mounting the shared config as read only then mount a 
`etc/local.d/999-writeable-ini-file.ini`, I think this will works. Before that 
though, we will need to update this line to skip chmod on the mounted config or 
secret `.ini`.
   
https://github.com/apache/couchdb-docker/blob/1f85f08f840e0b7482c61ef2e0ed3fe30c1cf1b0/2.1.1/docker-entrypoint.sh#L33
   
   Personally though, I thought we can maybe fix `/opt/couchdb/etc/local.ini` 
as readonly and all writable `.ini` should contain within 
`/opt/couchdb/etc/local.d/*` directory. Then we can skip chmod on 
`/opt/couchdb/etc/local.ini`.
    

----------------------------------------------------------------
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