Skip to main content

Presets

Morio presets are pre-configured settings.

They can be changed, but whether that can be done on a running Morio instance or only during the initial setup depends on the specific preset.

Refer to the documentation of the various presets below for more details.

Maximum lifetime of a morio auth cookie in seconds.

MORIO_API_COOKIE_EXPIRY default value:
14000

MORIO_API_ERRORS_WEB_PREFIX​

Web URL prefix for linking to errors

MORIO_API_ERRORS_WEB_PREFIX default value:
https://morio.it/docs/reference/errors/

MORIO_API_JWT_EXPIRY​

Maximum lifetime of a JSON Web Token generated by Morio.

The notation here is the one used by Go’s time package.

MORIO_API_JWT_EXPIRY default value:
4h

MORIO_API_LOG_LEVEL​

Log level of the API service. One of trace, debug, info, warn, error, fatal, or silent.

MORIO_API_LOG_LEVEL default value:
info

MORIO_BROKER_LOG_LEVEL​

Log level of the broker service. One of all, trace, debug, info, warn, error, or fatal.

MORIO_BROKER_LOG_LEVEL default value:
warn

MORIO_CA_CERTIFICATE_LIFETIME_DFLT​

Default lifetime of a certificate generated by the Morio Certificate Authority.

MORIO_CA_CERTIFICATE_LIFETIME_DFLT default value:
750h

MORIO_CA_CERTIFICATE_LIFETIME_MAX​

Maximum lifetime of a certificate generated by the Morio Certificate Authority.

MORIO_CA_CERTIFICATE_LIFETIME_MAX default value:
17544h

MORIO_CA_CERTIFICATE_LIFETIME_MIN​

Minimum lifetime of a certificate generated by the Morio Certificate Authority.

MORIO_CA_CERTIFICATE_LIFETIME_MIN default value:
5m

MORIO_CA_INTERMEDIATE_COMMON_NAME​

Common Name (CN) for the Morio Intermediate Certificate Authority.

MORIO_CA_INTERMEDIATE_COMMON_NAME default value:
Morio Intermediate Certificate Authority

MORIO_CA_INTERMEDIATE_YEARS_VALID​

Lifetime of the certificate of the Morio Intermediate Certificate Authority

MORIO_CA_INTERMEDIATE_YEARS_VALID default value:
5

MORIO_CA_ROOT_COMMON_NAME​

Common Name (CN) for the Morio Root Certificate Authority.

MORIO_CA_ROOT_COMMON_NAME default value:
Morio Root Certificate Authority

MORIO_CA_ROOT_YEARS_VALID​

Lifetime of the certificate of the Morio Root Certificate Authority

MORIO_CA_ROOT_YEARS_VALID default value:
20

MORIO_CA_DEFAULT_CN​

The default Common Name (CN) attribute for X.509 certificates generated by Morio.

MORIO_CA_DEFAULT_CN default value:
Morio

MORIO_CA_DEFAULT_C​

The default Country (C) attribute for X.509 certificates generated by Morio.

MORIO_CA_DEFAULT_C default value:
BE

MORIO_CA_DEFAULT_ST​

The default state/locality (ST) attribute for X.509 certificates generated by Morio.

MORIO_CA_DEFAULT_ST default value:
Brussels

MORIO_CA_DEFAULT_L​

The default Location (L) attribute for X.509 certificates generated by Morio.

MORIO_CA_DEFAULT_L default value:
Brussels

MORIO_CA_DEFAULT_O​

The default Organisation (O) attribute for X.509 certificates generated by Morio.

MORIO_CA_DEFAULT_O default value:
CERT-EU

MORIO_CA_DEFAULT_OU​

The default Organisational Unit (OU) attribute for certificates generated by Morio.

MORIO_CA_DEFAULT_OU default value:
Infrastructure Team

MORIO_CORE_CLUSTER_HEARTBEAT_MAX_RTT​

Number of milliseconds above which we start logging heartbeat latency.

You may want to increase this if you have cluster nodes behind a slower link.

MORIO_CORE_CLUSTER_HEARTBEAT_MAX_RTT default value:
150

MORIO_CORE_CONFIG_FOLDER​

Location of the Morio configuration folder inside the core container

MORIO_CORE_CONFIG_FOLDER default value:
/etc/morio

MORIO_CORE_LOG_LEVEL​

Log level of the Core service. One of trace, debug, info, warn, error, fatal, or silent.

MORIO_CORE_LOG_LEVEL default value:
info

MORIO_CORE_UUID_FINGERPRINT_LENGTH​

Amount of characters to use for the short version (fingerprint) of a UUID

MORIO_CORE_UUID_FINGERPRINT_LENGTH default value:
6

MORIO_DOCKER_ADD_HOST​

Optional host:ip resolution to add to the containers configuration.

This is typically used to facilitate the development or testing of Morio. It is not the kind of setup that you want to run in production: use DNS instead.

MORIO_DOCKER_ADD_HOST default value:
false

MORIO_DOCKER_LOG_DRIVER​

The Docker log driver to use for created containers.

Morio assumes that systemd is present, and so we use the journald log driver for Docker.

MORIO_DOCKER_LOG_DRIVER default value:
journald

MORIO_DOCKER_NETWORK_NAME​

Name of the internal Morio Docker network

MORIO_DOCKER_NETWORK_NAME default value:
morionet

MORIO_DOCKER_NETWORK_MTU​

MTU to configure on the internal Morio Docker network.

If you are considering changing the MTU, you probably know what you’re doing. In general, this can be useful to avoid fragmentation.

MORIO_DOCKER_NETWORK_MTU default value:
1500

MORIO_DOCKER_NETWORK_SUBNET​

Subnet to use for the internal Morio Docker network.

You may need to change this if you have clients that connect from a network that shares the same subnet. In this case, the client will not be able to communicate since it will seem to be local when it is not.

In this case, and probably only in this case, you should change the subnet to any other private network.

MORIO_DOCKER_NETWORK_SUBNET default value:
192.168.144.32/27

MORIO_DOCKER_SOCKET​

The location of the Docker socket on the host OS.

MORIO_DOCKER_SOCKET default value:
/var/run/docker.sock

MORIO_FOLDERS_CONFIG_PATH​

Location of the Morio configuration folder on the host OS.

MORIO_FOLDERS_CONFIG_PATH default value:
/etc/morio/moriod

MORIO_FOLDERS_DATA_PATH​

Location of the Morio data folder on the host OS.

MORIO_FOLDERS_DATA_PATH default value:
/var/lib/morio/moriod

MORIO_FOLDERS_LOGS_PATH​

Location of the Morio logs folder on the host OS.

MORIO_FOLDERS_LOGS_PATH default value:
/var/log/morio/moriod

MORIO_PROXY_LOG_FORMAT​

Log format for the proxy service. One of json or common. Common is plain text.

MORIO_PROXY_LOG_FORMAT default value:
json

MORIO_PROXY_LOG_LEVEL​

Log level for the proxy service. One of TRACE, DEBUG, INFO, WARN, or ERROR.

MORIO_PROXY_LOG_LEVEL default value:
INFO

MORIO_TAP_LOG_LEVEL​

Log level of the Tap service. One of trace, debug, info, warn, error, fatal, or silent.

MORIO_TAP_LOG_LEVEL default value:
info

MORIO_TAP_MAX_MEMORY​

The maximum memory a tap instance can consumer before it is restarted

MORIO_TAP_MAX_MEMORY default value:
500M

MORIO_TAP_MAX_THREADS​

The maximum of threads a tap instance will accept in its configuration

MORIO_TAP_MAX_THREADS default value:
256

MORIO_UI_TIMEOUT_URL_CHECK​

Number of milliseconds before a URL check should time out

MORIO_UI_TIMEOUT_URL_CHECK default value:
1500

MORIO_DOCKER_SOCKET​

The location of the Docker socket on the host OS.

MORIO_DOCKER_SOCKET default value:
/var/run/docker.sock

MORIO_FOLDERS_CONFIG_PATH​

Location of the Morio configuration folder on the host OS.

MORIO_FOLDERS_CONFIG_PATH default value:
/etc/morio/moriod

MORIO_FOLDERS_DATA_PATH​

Location of the Morio data folder on the host OS.

MORIO_FOLDERS_DATA_PATH default value:
/var/lib/morio/moriod

MORIO_FOLDERS_LOGS_PATH​

Location of the Morio logs folder on the host OS.

MORIO_FOLDERS_LOGS_PATH default value:
/var/log/morio/moriod