/lucee-dockerfiles

Official Lucee Dockerfiles for Docker Hub build images

Primary LanguageColdFusionMIT LicenseMIT

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.1

Lucee 5.0

Lucee 4.5

For an example of setting up a Lucee Docker project see Lucee Docker Workbench.

Example Project Dockerfile

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

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://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

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.