I am trying to get Lucee working with Devilbox (Docker) and I really am a new to this sort of things. According to the Devilbox docs you can do this to by creating the following code in the docker-compose.override.yml:
services:
# Your custom Docker image here:
lucee:
image: lucee/lucee52:latest
command: start --insecure
# Ensure the chosen ports are not occupied on the host system
ports:
- "${LOCAL_LISTEN_ADDR}26257:26257"
- "${LOCAL_LISTEN_ADDR}8080:8080"
networks:
app_net:
# Ensure to pick an IP address from docker-compose.yml network
# that is not yet taken by other sevices
ipv4_address: 172.16.238.201
# (Optional) For ease of use always automatically start these:
depends_on:
- bind
- php
- httpd
# End of first custom Docker image
This almost seem to work. But I get the error:
ERROR: for d93c0fb4627d_devilbox_lucee_1 Cannot start service lucee: OCI runtime create failed: container_linux.go:348: starting container process caused âexec: "start": executable file not found in $PATHâ: unknown
That means the executable in the command doesnât exist. For Lucee itâs already specified in the base image so you donât need to override this in a Docker Compose config.
Youâll also want to use port 8888, thatâs what Lucee uses for all distributions (express, installer, and Docker images).
I am totally leaving devilbox and try to get things up and running with Docker (Kitematic) with the lucee-nginx image, only seems I canât get the nginx config files to work.
## IMPORTANT: The version must match the version of docker-compose.yml
---
version: '2.3'
services:
lucee:
image: lucee/lucee:latest
# Ensure the chosen ports are not occupied on the host system
ports:
- "${LOCAL_LISTEN_ADDR}8888:8888"
networks:
app_net:
# Ensure to pick an IP address from docker-compose.yml network
# that is not yet taken by other sevices
ipv4_address: 172.16.238.200
# (Optional) For ease of use always automatically start these:
depends_on:
- bind
- mysql