- MCONN_LOGGER_LEVEL
- MCONN_HOST
- MCONN_PORT
- MCONN_PATH
- MCONN_CREDENTIALS
- MCONN_MODULE_PATH
- MCONN_MODULE_START
- MCONN_MODULE_PREPARE
- MCONN_ZK_HOSTS
- MCONN_ZK_PATH
- MCONN_ZK_TIMEOUT
- MCONN_ZK_SPIN
- MCONN_ZK_RETRIES
- MCONN_MARATHON_HOSTS
- MCONN_MARATHON_SSL
Set the logging level of the application. The values are "1" for error, "2" for error and warnings, "3" for error, warnings and info or "4" for error, warnings, info and debug.
Default-Value:
3
The hostname of the MConn-Node.
Default-Value:
if process.env.HOST then process.env.HOST else "127.0.0.1"
The port of the webserver
Default-Value:
if process.env.PORT0 then process.env.PORT0 else "1234"
MConn needs to know its absolute path to build the module structure.
Default-Value (look at the Dockerfile) is
"/mconn"
By setting this value to a valid format you enable the basic authentication of the HTTP-Server. The correct formatting is user:password
. Don't use a colon (:) for username or password.
Default-Value:
not set
This is the max. lifetime in milliseconds before the QueueManager switches a taskState to "error".
Default-Value:
60000
This is the path where MConn Modules, defined by MCONN_MODULE_START environment, can be found.
Example:
- MCONN_MODULE_START=HelloWorld
- MCONN_MODULE_PATH=/mnt/mesos/sandbox
MConn will search in "/mnt/mesos/sandbox" for a folder named "HelloWorld".
Default-Value:
if process.env.MESOS_SANDBOX then process.env.MESOS_SANDBOX else "/mconn/modules"
This function compiles the coffee-files of the selected modules before installing the npm-dependencies. If you want to inclue a module in native javascript you need to set this value to false
Default-Value:
true
When starting the process, MCONN searches the folder name you have chosen.
Default-Value:
not set
Global time in milliseconds to start the Marathon-Sync
Default-Value:
600000
The Zookeeper-Hosts. Possible is leader.mesos:2181
or 10.10.10.10:2181,10.10.10.11:2181,...
Default-Value:
if process.env.ALIAS_PORT_2181_TCP_ADDR? then process.env.ALIAS_PORT_2181_TCP_ADDR + ":2181"
else "leader.mesos:2181"
This value is the name of the path that MConn will create and use on Zookeeper-Store
Default-Value:
if process.env.MARATHON_APP_ID then process.env.MARATHON_APP_ID else "/mconn"
Session timeout in milliseconds.
Default-Value:
1000
The delay (in milliseconds) between each connection attempts.
Default-Value:
3000
The number of retry attempts for connection loss exception.
Default-Value:
10
The addresses of the Marathon-Hosts. Possible is leader.mesos:8080
or admin:password@10.10.10.10:8080,admin:password@10.10.10.11:8080,...
Default-Value:
leader.mesos:8080
Set this env to true
, if your Marathon instances are using HTTPS (self sight certificates are allowed)
Default-Value:
false