Skip to content

Commit

Permalink
Update readme with build override and tomcat server template override…
Browse files Browse the repository at this point in the history
… information
  • Loading branch information
battlecow committed Jan 21, 2023
1 parent 4326313 commit d19ae93
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ Please refer to this JamfNation post - [Apache Tomcat Versions Installed by the
* JMX connection information
* Remote database connection in DataBase.xml

## Docker Build Options
Override the version of Tomcat used:
```
docker build --build-arg "TOMCAT_VERSION=8.5.85-jdk11" -t jamfpro .
```
Replace the `server.template` file prior to building to override the server.xml Tomcat file.

## Environment Variable Options
```
STDOUT_LOGGING [ true ] / false
Expand Down Expand Up @@ -49,6 +56,21 @@ POD_IP -- Enable Kubernetes clustering via downward API
MEMCACHED_HOST -- Enable Memcached caching, assumes port 11211 by default
server.xml template overrides:
tomcat_executor_max_threads - 150
tomcat_executor_min_threads - 4
tomcat_connector_port - 8080
tomcat_connection_timeout - 61000
tomcat_connector_proxy_port - 443
tomcat_connector_server - Jamf
tomcat_connector_max_parameter_count - 300000
tomcat_host_app_base - webapps
tomcat_host_unpack_wars - true
tomcat_host_auto_deploy - true
tomcat_host_start_stop_threads - 4
tomcat_host_stuck_threads_threshold - 600
```

## Data Persistence
Expand All @@ -65,7 +87,7 @@ docker run -p 8080:8080 -d \
-e DATABASE_HOST=host.docker.internal \
-v $(pwd)/ROOT.war:/data/ROOT.war \
-v $(pwd)/webapps:/usr/local/tomcat/webapps \
jamfdevops/jamfpro:0.0.8
jamf/jamfpro:0.0.18
```
Valid image tags can be found on [Dockerhub Tags](https://hub.docker.com/r/jamf/jamfpro/tags/) or [Github Releases](https://github.com/jamf/jamfpro/releases).

Expand Down

0 comments on commit d19ae93

Please sign in to comment.