endyjasmi opened a new issue #149: Setting query server definition URL: https://github.com/apache/couchdb-docker/issues/149 ## Expected Behavior According to https://docs.couchdb.org/en/latest/config/query-servers.html#query-servers , I should be able to set query server parameter with environment variable. ## Current Behavior When I set the environment variable `COUCHDB_QUERY_SERVER_JAVASCRIPT="/opt/couchdb/bin/couchjs --eval /opt/couchdb/share/server/main.js"` doesn't seems to take effect. ## Possible Solution Currently I am mounting over the default `/opt/couchdb/bin/couchdb` binary file and setting it directly at that file. This however sometime causes permissions problem. ## Context Basically I am currently using AJV for JSON schema validation purposes and a few other library (lodash, crytpojs, etc...) for other purposes. In other for this library to works, I'll need to turn eval flag on in couchjs. Prior to version 2.3, this query server definition is set inside the INI file but have since changed to environment variable. ## Your Environment * Version used: CouchDB 2.3.1 * Operating System and version (desktop or mobile): Windows 10 and Other linux environment
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
