Adam Cameron
lucee/lucee "stuff" is up and running. We're using the lucee-nginx variant, so am OK to add Nginx into the mix as well, so making a curl is viable.
Am currently thinking I'll put a subdir in the docroot with a stub Application.cfc (so it blocks the upstream Application.cfc which has framework shit in it), and a healthcheck.cfm which just emits lucee.server.version (or whatever it is) or something like that..? if curling that returns 200-OK, then... healthy, otherwise... not healthy...?Patrick
12/20/2023, 2:50 PMHEALTHCHECK CMD and check it via a commandAdam Cameron
if lucee has some commandline wayThat's the bit I'm asking about.
Adam Cameron
cmd php /path/to/file/that/just/exits/with/0.php. this tests PHP runs, and exits with a success exit code. I'm after how ppl are doing equiv on Lucee.Adam Cameron
dswitzer
12/20/2023, 5:04 PMemmet
12/21/2023, 2:19 AMquetwo
12/21/2023, 3:08 PMAdam Cameron
<cfoutput>OK</cfoutput> in index.cfm. And we just curl that with -f so we get a 0 / non-0 exit code. Done.Adam Cameron