App-defined Configs to be Used in Gateway Code

In my docker setup, I’d like to get away from using lucee-web.xml.cfm to set things up. I’d rather use application-defined configs. However, there’s one snag: One of my services uses a file watcher gateway.

The gateways run in a weird, standalone context, and I don’t know if it’s even possible to set/use anything but admin-defined configurations (e.g., data sources, mappings, etc.).

Are gateways incompatible with app-defined configs or is there a way to do it?

coldfusion - App-defined Configs (Mappings, Data Sources, etc.) to be Used in Gateway Code - Stack Overflow, because crickets.

FWIW, SO bounty ends in one day.