islandora/tomcat

Sponsored OSS

By islandora

Updated about 12 hours ago

Base tomcat image used for java services.

Image
Security
Web servers
Content management system
0

100K+

islandora/tomcat repository overview

Tomcat

Docker image for Tomcat version 9.0.118.

Built from Islandora-DevOps/isle-buildkit tomcat

Please refer to the Tomcat Documentation for more in-depth information.

As a quick example this will bring up an instance of Tomcat, and allow you to view the manager webapp on http://localhost:80/manager/html/.

docker run --rm -ti \
    -p 8080:8080 \
    islandora/tomcat

Dependencies

Requires islandora/java Docker image to build. Please refer to the Java Image README for additional information including additional settings, volumes, ports, etc.

Ports

PortDescription
8005Shut-down
8009AJP
8080HTTP
8443HTTPS

Settings

Environment VariableDefaultDescription
TOMCAT_ADMIN_NAMEadminThe user name of the manager webapp admin user
TOMCAT_ADMIN_PASSWORDpasswordThe password for the manager webapp admin user
TOMCAT_ADMIN_ROLESmanager-guiComma separated list of roles the user has
TOMCAT_CATALINA_OPTS
TOMCAT_JAVA_OPTS
TOMCAT_LOG_LEVELINFOLog level. Possible Values: SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST or ALL
TOMCAT_MANAGER_REMOTE_ADDRESS_VALVE^.*$Allows / blocks access to manager app to addresses which match this regex

Additional users/groups/etc can be defined by adding more environment variables, following the above conventions:

Environment VariableDescription
TOMCAT_USER_{USER}_NAMEThe user name
TOMCAT_USER_{USER}_PASSWORDThe password for the user
TOMCAT_USER_{USER}_ROLESComma separated list of roles the user has

N.B. These do not have defaults.

For example to add a new user someone you would need to define the following:

Environment VariableValue
TOMCAT_USER_SOMEONE_NAMEsomeone
TOMCAT_USER_SOMEONE_PASSWORDpassword
TOMCAT_USER_SOMEONE_ROLESadmin

N.B. For all of the settings above, images that descend from this image can apply a prefix to every setting. So for example TOMCAT_CATALINA_OPTS would become FCREPO_TOMCAT_CATALINA_OPTS. This is to allow for different settings on a per-service basis when sharing the same confd backend.

Tag summary

Content type

Image

Digest

sha256:8e2738ef5

Size

235.2 MB

Last updated

about 12 hours ago

docker pull islandora/tomcat:alpine-3-24

This week's pulls

Pulls:

566

Last week