Tomcat 9.x
Introduction
This image is used to deploy a Tomcat 9 web server with a war application.
Stack Code
tomcat-9 - To be mentioned in build.image_template
in appz.yml
.
Sample Project
Sample AppZ YAML
Name: appz.yml
. To be placed in the root of your git repo.
app:
name: Tomcat Loadgen
code: TCLG
notify: appzdev@cloudbourne.co
build:
version: 0.3
env: DEV
build_file: pom.xml
output_files: output/*.war
image_template: tomcat9
deploy:
context: alpha/DEV
replicas: 2
port:
- 8080
properties:
MOD_CLUSTER: modcluster-1-3:6666
title: Tomcat HelloWorld - AppZ Easy Install Testing
head_color : Green
threads: 5
delay: 15
next: 15
download: true
random : true
nano : 73
Properties
The image is vault enabled so secrets can be pulled from the vault. These are placed under properties
in appz.yml
.
- MOD_CLUSTER - This is used for providing the Apache load balancer IP, To connect the tomcat to the load balancer.
Volumes
- No requirements of volume unless applications need them
- Standard AppZ Volumes are enabled.