This is a FORK of the official LAS Lucee Docker images.
Lucee provides a number of different base images for your Lucee project.
- nginx + Tomcat 8.0.53-JRE8
- nginx + Tomcat 8.0.53-JRE8-slim
- nginx + Tomcat 8.0.53-JRE8-alpine
- Tomcat 8.0.53-JRE8
- Tomcat 8.0.53-JRE8-slim
- Tomcat 8.0.53-JRE8-alpine
FROM dcepler/lucee52-nginx:latest
# NGINX configs
COPY config/nginx/ /etc/nginx/
# Lucee server configs
COPY config/lucee/ /opt/lucee/web/
# Deploy codebase to container
COPY www /var/www
-
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://lucee-dockerfiles.192.168.99.100.nip.io:8045
lucee50 -> $ open http://lucee-dockerfiles.192.168.99.100.nip.io:8050
lucee51 -> $ open http://lucee-dockerfiles.192.168.99.100.nip.io:8051
lucee52 -> $ open http://lucee-dockerfiles.192.168.99.100.nip.io:8052
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
nginx52 -> $ open http://nginx52.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.