timsayshey / wheelie

Finally, a cms for the rest of us.
MIT License
22 stars 13 forks source link

Define datasource and mail settings in application.cfc #33

Closed timsayshey closed 7 years ago

timsayshey commented 7 years ago

Instead of setting up the datasource and mail settings manually in the Lucee admin, it would be nice to define it in the application settings. Ie, this.datasources, etc.

Let's pull the config settings from the system vars defined by Docker or from: /config/system.properties

The system variables and system.properties should already be available in application.runtimeconfig

I've attempted this but for some reason Lucee is ignoring the datasource that I had defined in /config/app.cfm

timsayshey commented 7 years ago

Fixed, thanks @neokoenig