Railo CFML engine running on Tomcat J2EE server
1.6K
Railo CFML application engine running on Apache Tomcat J2EE application server
A compatible version of the Apache Tomcat Native Library is installed for better Tomcat performance in production environments.
Railo's Java Agent for the JVM is enabled for better memory management of compiled CFML code.
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.
This container uses baseimage-docker for their base image. This makes the image fairly large (600MB+) but provides a few benefits:
cfexecutedocker stop by signalling Tomcat and giving it some time to shut down cleanly.cron to schedule application cleanup tasks instead of the server's built-in task scheduler.These containers include two template generators:
Both of these generators can read environment variables and feed them as variables into their respective templates. They are useful for generating Railo configuration files from template files either at build time (in a Dockerfile) or run time (in a startup script).
Tomcat listens on port 8888. This port is exposed to other containers. You must publish the port if you wish to browse to it from the Docker host.
The Railo admin URL is /railo-context/admin/ from the exposed port. The server password is 'docker'.
THIS IS NOT A SECURE CONFIGURATION FOR PRODUCTION ENVIRONMENTS! It is strongly recommended that you secure the container by:
The default site in the Railo image contains the welcome application bundled with the installer so you can test it. This bundled application however is deleted from any derived images via an ONBUILD instruction in the Dockerfile so you can ADD your own CFML application to the same location in your own Dockerfiles.
Folder locations:
Railo stores its application configurations under WEB-INF by default. However storing the configurations under the web root may cause problems in development environments, so for the default site these have been moved to folders outside the web root.
The location of the application config for the default site is set in /opt/railo/tomcat/webapps/ROOT/WEB-INF/web.xml. If you use your own web root make sure it includes a similar WEB-INF/web.xml file.
You can set the JVM parameters for Tomcat via the RAILO_JAVA_OPTS environment variable.
For example, o run a Railo container with an initial heap of 1GB and a maximum heap of 1.5GB:
sudo docker run -e RAILO_JAVA_OPTS="-Xms1024m -Xmx1536m -XX:MaxPermSize=128m" boomfish/railo-engine
The default value of RAILO_JAVA_OPTS is "-Xms256m -Xmx512m -XX:MaxPermSize=128m".
Content type
Image
Digest
sha256:db3a2851f…
Size
262.8 MB
Last updated
over 11 years ago
docker pull boomfish/railo-engine