Configuring Payara Micro via System Properties and Environment Variables

Payara Micro Community can also be configured via system properties. These can either be set on the command line or passed into Payara Micro using the --systemProperties command line option which will load the properties from the specified file.

Payara Micro Community can also be configured using Environment variables. The environment variables supported are the same as the system properties below just replace the . with _ for example payaramicro.port should be payaramicro_port when used as a system property.

Payara Micro supports the following system properties:

System Property Equivalent Command Line Flag

payaramicro.domainConfig

--domainConfig

payaramicro.hzConfigFile

--hzConfigFile

payaramicro.publicaddress

--hzPublicAddress

payaramicro.autoBindHttp

--autoBindHttp

payaramicro.autoBindRange

--autoBindrange

payaramicro.autoBindSsl

--autoBindSsl

payaramicro.logo

--logo

payaramicro.logToFile

--logToFile

payaramicro.enableAccessLog

--accessLog

payaramicro.logPropertiesFile

--logProperties

payaramicro.enableDynamicLogging

--enableDynamicLogging

payaramicro.enableHealthCheck

--enableHealthCheck

payaramicro.port

--port

payaramicro.sslPort

--sslport

payaramicro.sslCert

--sslcert

payaramicro.mcAddress

--mcAddress

payaramicro.mcPort

--mcPort

payaramicro.hostAware

--hostaware

payaramicro.startPort

--startport

payaramicro.clusterName

--clusterName

payaramicro.clusterPassword

--clusterPassword

payaramicro.lite

--lite

payaramicro.maxHttpThreads

--maxHttpThreads

payaramicro.minHttpThreads

--minHttpThreads

payaramicro.noCluster

--noCluster

payaramicro.disablePhoneHome

--disablePhoneHome

payaramicro.enableRequestTracing

--enableRequestTracing

payaramicro.requestTracingThresholdUnit

--requesttracingthresholdunit

payaramicro.requestTracingThresholdValue

--requesttracingthresholdvalue

payaramicro.rootDir

--rootDir

payaramicro.name

--name

payaramicro.instanceGroup

--instancegroup

payaramicro.initialJoinWait

--hzinitialjoinwait