I have Lucee running in a Docker Container (extending from commandbox container).
Because our container is extending Commandbox on docker, we are able to set things like Port, URL Rewrites etc via server.json (Thank you Ortus Solutions and Brad !!).
The Application is a REST API receiving and returning JSON objects for a Javascript UI. In our original server we had Language/Compiler > Key case set to “Preserve Case” so that all objects keys would be lower case… a necessity when App response is to be consumed by Case Sensitive Javascript.
The problem is we can’t find a way of setting this in our Dockerized App. We’ve explored CFConfig (thanks again Ortus !! ), but there doesn’t appear to be a setting in CFConfig for Key case.
Does anyone have any suggestions on how we can set Key case to “Preserve Case” in a Dockerized Lucee App?
When we create our Docker images, they’re set to run a script file to ‘warm up the server’ and run an initial healthcheck that then sets all the configuration settings. So if it’s not configurable via CFConfig, you could consider that…
I would suggest that:
a) you add a ticket to cfconfig for it. I would probably get to it soon as I cfconfig and would use it or even add the feature
b) Check out this spreadsheet of Lucee Settings that can be modified via environment variables: Lucee Configuration - Google Sheets