Official Lucee Dockerfiles for Docker Hub build images

README.md

Dockerfiles for Lucee application servers

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 Base Images

Lucee provides a number of different base images for your Lucee project.

Lucee 5.2

Lucee 5.1

Lucee 5.0

Lucee 4.5

Example Project Dockerfile

FROM lucee/lucee51-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

Features

Java optimisation tweaks

Optimised for single-site application

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.

Contributing to this Project

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.

Spinning things up locally

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

License

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.