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.
MORIO_API_COOKIE_EXPIRY
Maximum lifetime of a morio auth cookie in seconds.
14000
MORIO_API_ERRORS_WEB_PREFIX
Web URL prefix for linking to errors
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.
4h
MORIO_API_LOG_LEVEL
Log level of the API service.
One of trace, debug, info, warn, error, fatal, or silent.
info
MORIO_BROKER_LOG_LEVEL
Log level of the broker service.
One of all, trace, debug, info, warn, error, or fatal.
warn
MORIO_CA_CERTIFICATE_LIFETIME_DFLT
Default lifetime of a certificate generated by the Morio Certificate Authority.
750h
MORIO_CA_CERTIFICATE_LIFETIME_MAX
Maximum lifetime of a certificate generated by the Morio Certificate Authority.
17544h
MORIO_CA_CERTIFICATE_LIFETIME_MIN
Minimum lifetime of a certificate generated by the Morio Certificate Authority.
5m
MORIO_CA_INTERMEDIATE_COMMON_NAME
Common Name (CN) for the Morio Intermediate Certificate Authority.
Morio Intermediate Certificate Authority
MORIO_CA_INTERMEDIATE_YEARS_VALID
Lifetime of the certificate of the Morio Intermediate Certificate Authority
5
MORIO_CA_ROOT_COMMON_NAME
Common Name (CN) for the Morio Root Certificate Authority.
Morio Root Certificate Authority
MORIO_CA_ROOT_YEARS_VALID
Lifetime of the certificate of the Morio Root Certificate Authority
20
MORIO_CA_DEFAULT_CN
The default Common Name (CN) attribute for X.509 certificates generated by Morio.
Morio
MORIO_CA_DEFAULT_C
The default Country (C) attribute for X.509 certificates generated by Morio.
BE
MORIO_CA_DEFAULT_ST
The default state/locality (ST) attribute for X.509 certificates generated by Morio.
Brussels
MORIO_CA_DEFAULT_L
The default Location (L) attribute for X.509 certificates generated by Morio.
Brussels
MORIO_CA_DEFAULT_O
The default Organisation (O) attribute for X.509 certificates generated by Morio.
CERT-EU
MORIO_CA_DEFAULT_OU
The default Organisational Unit (OU) attribute for certificates generated by Morio.
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.
150
MORIO_CORE_CONFIG_FOLDER
Location of the Morio configuration folder inside the core container
/etc/morio
MORIO_CORE_LOG_LEVEL
Log level of the Core service.
One of trace, debug, info, warn, error, fatal, or silent.
info
MORIO_CORE_UUID_FINGERPRINT_LENGTH
Amount of characters to use for the short version (fingerprint) of a UUID
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.
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.
journald
MORIO_DOCKER_NETWORK_NAME
Name of the internal Morio Docker network
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.
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.
192.168.144.32/27
MORIO_DOCKER_SOCKET
The location of the Docker socket on the host OS.
/var/run/docker.sock
MORIO_FOLDERS_CONFIG_PATH
Location of the Morio configuration folder on the host OS.
/etc/morio/moriod
MORIO_FOLDERS_DATA_PATH
Location of the Morio data folder on the host OS.
/var/lib/morio/moriod
MORIO_FOLDERS_LOGS_PATH
Location of the Morio logs folder on the host OS.
/var/log/morio/moriod
MORIO_PROXY_LOG_FORMAT
Log format for the proxy service. One of json or common. Common is plain text.
json
MORIO_PROXY_LOG_LEVEL
Log level for the proxy service.
One of TRACE, DEBUG, INFO, WARN, or ERROR.
INFO
MORIO_TAP_LOG_LEVEL
Log level of the Tap service.
One of trace, debug, info, warn, error, fatal, or silent.
info
MORIO_TAP_MAX_MEMORY
The maximum memory a tap instance can consumer before it is restarted
500M
MORIO_TAP_MAX_THREADS
The maximum of threads a tap instance will accept in its configuration
256
MORIO_UI_TIMEOUT_URL_CHECK
Number of milliseconds before a URL check should time out
1500
MORIO_DOCKER_SOCKET
The location of the Docker socket on the host OS.
/var/run/docker.sock
MORIO_FOLDERS_CONFIG_PATH
Location of the Morio configuration folder on the host OS.
/etc/morio/moriod
MORIO_FOLDERS_DATA_PATH
Location of the Morio data folder on the host OS.
/var/lib/morio/moriod
MORIO_FOLDERS_LOGS_PATH
Location of the Morio logs folder on the host OS.
/var/log/morio/moriod