Been a while in which I shared some of the things I do with lucee, so I thought I would share a simple script I use to launch lucee from whichever folder I am in.
I got tired of doing
docker run --rm --name lucee_launcher -v ${PWD}:/app -p 3000:8080 lucee/lucee:5.4.7.1-SNAPSHOT
or waiting for box to start and then I can start typing. The whole thing breaks my flow.
Very cool! I keep telling myself that I have to learn Bash one of these days—it looks like chicken-scratch (when compared to newer languages). But, I totally get that you don’t want to have to depend on something like Node to be in the path.
Hi Mark, just wanted to show how I use Docker compose for a similar startup process on my development machine.
cd theproject
docker compose -f docker-compose-dev.yml up
The neat thing about this is that docker compose starts multiple container and sets up internal dns so that internally to the container for the services. So “web” can be accessed at “https://web:8543” or “https://pdf:6632”. Lucee admin is ready to go at http://web:8588/lucee/admin/index.cfm