Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Variable

Description

Available since version

PI_TOMCAT_PORT

Dashboard

PI_TOMCAT_INTERNAL_PORT

Tomcat internal port (local only) (see PI_TOMCAT_USE_HTTPS)

PI_TOMCAT_ADMIN_PORT

Tomcat's administration port

PI_TOMCAT_AJP_PORT

Tomcat AJP por

PI_TOMCAT_MAX_MEMORY

Maximum memory allocated to tomcat

PI_TOMCAT_MAX_CONNECTIONS

Maximum concurrent connections to the tomcat server

PI_TOMCAT_CONNECTION_TIMEOUT

Connection timeout definition

PI_TOMCAT_MAX_THREADS

Maximum threads tomcat can run

PI_TOMCAT_MIN_SPARE_THREADS

Minimum spare threads tomcat should keep

PI_TOMCAT_FRAME_ANCESTORS

Frame-Ancestors definition for dashboard embedding. A space separated list of scheme://host:port or one of 'none' or 'self'

PI_TOMCAT_X_FRAME_OPTIONS

X-Frame-Options setting for Dashboard.

PI_TOMCAT_USE_HTTPS

Makes tomcat use HTTPS

PI_TOMCAT_HTTPS_CERT

The location of the X509 certificate to use for https

April 2021

PI_TOMCAT_HTTPS_CERT_KEY

The location of the X509 certificate key file

April 2021

PI_TOMCAT_HTTPS_CERT_KEY_PASSWORD

The password of the certificate key (if set)

April 2021

PI_TOMCAT_COOKIE_SECURE

Must be true if the dashboard is somehow being served with HTTPS. Default: false

November 2020

PI_TOMCAT_COOKIE_SAMESITE

One of nonelax or strict. Default: strict

November 2020

PI_TOMCAT_COOKIE_NAME

The cookie name that is used to identify a user’s session to a particular dashboard. Defaults to DASHBOARDSESSIONID<port> (e.g. a dashboard running on port 8224 will have its cookie as DASHBOARDSESSIONID8224.

August 2021

Renderer

Variable

Description

Available since version

RENDERER_DASHBOARD_URL

URL for the dashboard. Default: http://localhost:8224/pi

RENDERER_PORT

Internal port to run on. Default 9915

RENDERER_POST_LIMIT

Size limit that the server accepts when POSTed to. Default: 5mb

RENDERER_LOGGER_TYPE

Type of logger. Default tomcat

RENDERER_LOG_PATH

Path to the directory containing the logs. Default ../../tomcat/logs

RENDERER_LOG_LEVELS

Comma separated string with the levels to log. Valid values: error,info,warn,debug,verbose. Default error,warn

DIE_ON_UNHEALTHY

Boolean field. Kill the container if it reports as unhealthy. This is for orchestrators that only monitor running/stopped states. Default false

March 2021

...