Peter Amiri
07/08/2022, 5:03 PMbdw429s
07/08/2022, 5:04 PMortussolutions/commandbox docker iamgePeter Amiri
07/08/2022, 5:06 PMbdw429s
07/08/2022, 5:06 PMbdw429s
07/08/2022, 5:07 PMScott Steinbeck
07/08/2022, 5:20 PMPeter Amiri
07/08/2022, 5:22 PMortussolutions/commandbox questions.bdw429s
07/08/2022, 6:14 PMbdw429s
07/08/2022, 6:14 PMPeter Amiri
07/08/2022, 6:15 PMortussolutions/commandbox docker imagebdw429s
07/08/2022, 6:16 PMserver start serverConfigFile=myfile.json
# this will look for `server-foo.json` by default
server start name="foo"
however the Ortus docker image completely controls the start command and does not currenlty provide you with any mechanism to supply either a serverConfigFile or a name argument which sort of limits your options. CommandBox itself has no env vars to control this either. Perhaps this is an addition we could make to the Ortus image @jclausen?bdw429s
07/08/2022, 6:17 PMbdw429s
07/08/2022, 6:19 PMconfig set "command.defaults.server start.serverConfigFile"=server-foo.jsonbdw429s
07/08/2022, 6:19 PMserverConfigFile param for any server start commands that are run which effectively lets you "slip" it in when the docker image starts the server/bdw429s
07/08/2022, 6:20 PMjclausen
07/08/2022, 6:20 PMjclausen
07/08/2022, 6:20 PMBOX_SERVER_serverConfigFile=my-server.jsonjclausen
07/08/2022, 6:20 PMbdw429s
07/08/2022, 6:20 PMbdw429s
07/08/2022, 6:21 PMbox_server_xxx vars default values INSIDE the server.jsonbdw429s
07/08/2022, 6:21 PMbdw429s
07/08/2022, 6:21 PMjclausen
07/08/2022, 6:23 PMbdw429s
07/08/2022, 6:23 PMjclausen
07/08/2022, 6:23 PMserver-xxx.json file by overriding the CMD of the image.bdw429s
07/08/2022, 6:23 PMbdw429s
07/08/2022, 6:23 PMbdw429s
07/08/2022, 6:24 PMPeter Amiri
07/08/2022, 6:25 PMPeter Amiri
07/08/2022, 6:50 PMlibDirs in the server.json file for that so that is why I had to figure out how to load a custom server.json.jclausen
07/08/2022, 6:51 PMPeter Amiri
07/08/2022, 7:52 PMPeter Amiri
07/08/2022, 8:04 PM