add support for .cfconfig.json importing on startup

Description

Add support for .cfconfig as an experimental feature

the following ENV vars can be used to auto import a CFCONFIG.json file

LUCEE_ADDITIONAL_CONFIG_WEB_DIR 

LUCEE_ADDITIONAL_CONFIG_SERVER_DIR

In 6.0 with Single mode, it's LUCEE_ADDITIONAL_CONFIG_DIR

if a CFCONFIG.json is found in the web or server context root dir it will be imported automatically

Activity

Zac Spitzer 
9 June 2024 at 14:30

Lucee 6.1 has LUCEE_BASE_CONFIG

Zac Spitzer 
7 September 2022 at 07:53

  1. needs logging when any CFCONFIG file is imported

  2. the CFCONFIG,.json in the web or server context root, file should only be imported once and then either deleted or renamed. at the moment if you upgrade to 6.0 and then downgrade the 6.0 CFCONFIG is left in place and then it’s automatically imported on start, (each and every time the server starts) so I think we need to use a different filename

Fixed

Details

Assignee

Reporter

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Fix versions

Priority

Created 26 August 2022 at 09:04
Updated 9 June 2024 at 14:30
Resolved 16 May 2023 at 13:50