i have a docker container running lucee 5.4, with ...
# box-products
j
i have a docker container running lucee 5.4, with a custom
lucee-web.xml
. is there a way to do a
cfconfig export
on it to generate a
cfconfig.json
?
btw, the docker container is based on the standard lucee image (not the commandbox image).
p
is it running on commandbox inside the container? If so just ssh into and run the export. (
docker exec
)
should kick the export to wherever your app files are stored
j
no commandbox running anywhere, at the moment.
p
😢
j
will commandbox allow me to spin up a local server which uses the
lucee-web.xml
so that i could just
cfconfig export
it?
p
I would think so; cant hurt to try
j
i've run commandbox servers before, but never based on a
lucee-web.xml
. how would i even do that? is that documented?
j
thanks. i'll give it a shot.
p
I havent done it this way, but that explains it pretty good
j
it worked, thanks. 🙂
👍🏻 1
👍🏼 1
b
@jamiejackson Yeah, all you need is to docker exec in, toss in box and run box cfconfig export with your from pointing to the web or server context as described in the docs.
j
Yup, exactly what I did.
👍 1