Dockerfiles to build Lucee application servers.; used for the official LAS Lucee Docker images.
Lucee Docker images are available on Docker Hub: https://hub.docker.com/u/lucee/
Lucee provides a number of different base images for your Lucee project.
For an example of setting up a Lucee Docker project see Lucee Docker Workbench.
Example FarCry application from Chelsea Docker
FROM lucee/lucee4-nginx:latest
MAINTAINER Geoff Bowers <modius@daemon.com.au>
# TOMCAT CONFIGS
# COPY catalina.properties server.xml web.xml /usr/local/tomcat/conf/
# Custom setenv.sh to load Lucee
# COPY setenv.sh /usr/local/tomcat/bin/
# NGINX configs
COPY config/nginx/ /etc/nginx/
# Lucee server configs
COPY config/lucee/ /opt/lucee/web/
# Deploy codebase to container
COPY code /var/www/farcry
-
Lucee 4's Java Agent is enabled for better memory management of compiled CFML code.
-
JVM is set to use /dev/urandom as an entropy source for secure random numbers to avoid blocking Tomcat on startup.
-
Tomcat is configured to skip the default scanning of Jar files on startup, significantly improving startup time.
The default configuration serves a single application for any hostname on the listening port. Multiple applications can be supported by editing the server.xml
in the Tomcat config.
The Lucee Dockerfiles project is maintained by the community. Chief protagonist is @modius (Geoff Bowers of Daemon). Bug reports and pull requests are most welcome.
Using the Daemon Docker Workbench provided, or using your own Docker tooling.
These instructions assume you have the parent Workbench up and running:
git clone git@github.com:lucee/lucee-dockerfiles.git
cd lucee-dockerfiles
docker-compose up
Containers are forwarded onto the following addresses:
lucee45 -> $ open http://workbench.192.168.99.100.nip.io:8045/
lucee50 -> $ open http://workbench.192.168.99.100.nip.io:8050/
lucee51 -> $ open http://workbench.192.168.99.100.nip.io:8051/
nginx45 -> $ open http://nginx45.192.168.99.100.nip.io
nginx50 -> $ open http://nginx50.192.168.99.100.nip.io
nginx51 -> $ open http://nginx51.192.168.99.100.nip.io
The Docker files and config files are available under the MIT License. The Lucee engine, Tomcat, NGINX and any other softwares are available under their respective licenses.