Tomcat
Apache Tomcat for Java applications (JSP and servlets).
This family is installed with the Tomcat version and the database version you choose. Only combinations that work together exist.
Available versions
Tomcat / Java versions: Tomcat 9.0 Java 8, Tomcat 9.0 Java 11, Tomcat 9.0 Java 17, Tomcat 9.0 Java 21, Tomcat 9.0 Java 25, Tomcat 10.1 Java 11, Tomcat 10.1 Java 17, Tomcat 10.1 Java 21, Tomcat 10.1 Java 25, Tomcat 11.0 Java 17, Tomcat 11.0 Java 21, Tomcat 11.0 Java 25
| Database | Versions | Stable |
|---|---|---|
| MySQL | 8.4 | 8.4 |
| MariaDB | 10.11, 11.4, 11.8 | 11.8 |
| PostgreSQL | 14, 15, 16, 17, 18 | 18 |
| MongoDB | 7.0, 8.0 | 8.0 |
| Redis | 6.2, 7.2, 7.4, 8.0, 8.2 | 8.2 |
Not every database version combines with every language version: the installer offers only those that work together.
Install
With the stable versions:
docker-deploy-stack --stack java/tomcat11.0-java25-postgres-18
With chosen versions:
docker-deploy-stack --stack java/tomcat10.1-java11-postgres-18
To see every identifier: docker-deploy-stack --list. docker-deploy-stack --list --legacy also shows versions the vendor no longer maintains; installing them asks for confirmation.
After installing
The stack is placed in /root/stack/java/tomcat11.0-java25-postgres-18/. To start it:
cd /root/stack/java/tomcat11.0-java25-postgres-18
docker compose up -d
To install and deploy your application, follow How do I deploy a Stack? and How do I deploy an application on a Stack?. To choose versions or upgrade, see Choosing versions and upgrading a Stack.