bfescoe
02/08/2023, 5:08 PMbdw429s
02/08/2023, 5:11 PMortussolutions/commandbox docker image
• The commandbox-dotenv module for reading .env files
• The commandbox-cfconfig module for loading config into Lucee while allowing for easy config replacements
Then setup a .cfconfig.json file in your site with placeholders for the bits in the DSN that need to change or are sensitive (like passwords). For local dev, just use an .env file, and for all other environments use env vars or docker secrets, etc to provide those values.bdw429s
02/08/2023, 5:12 PMbdw429s
02/08/2023, 5:13 PMbdw429s
02/08/2023, 5:13 PMbdw429s
02/08/2023, 5:14 PMDB_HOSTbfescoe
02/08/2023, 5:14 PMbdw429s
02/08/2023, 5:15 PMcoldbox create app
install
server start
in CommandBox and the site would be up and running with the DSN configured and ready to gobdw429s
02/08/2023, 5:15 PMEvil Ware
02/09/2023, 9:05 PM