Environment Variables with Special Scopes
Introduction
Some environment variables have a special, extended or global scope. Variables with special scope are related to a deployment method only. Variables with an extended scope do not directly configure services but functions underneath. Variables with a global scope can configure more than one service.
Examples:
-
The global environment variable
OCIS_LOG_LEVELis available in multiple services. -
The extended environment variable
OCIS_CONFIG_DIRcan be used withocis init. -
The special environment variable
OCIS_RUN_SERVICESdefines services to start when the container is started.
Special Environment Variables
The following environment variables are only available when using a developer version for Infinite Scale. For additional information read the Start Infinite Scale documentation. Read the Environment Variable Types documentation for important details.
| Name | Description |
|---|---|
|
A comma-separated list of service names. Will start only the listed services. |
|
A comma-separated list of service names. Will start all default services except of the ones listed. Has no effect when |
|
A comma-separated list of service names. Will add the listed services to the default configuration. Has no effect when |
|
The port where the runtime will start. Defaults to 9250. Only necessary when multiple runtimes are started in parallel. Each runtime must have its own port exclusively. |
|
The hostname the runtime will listen to. Defaults to |
Note to get the current list of services started by default, you need to run ocis server without restriction which services to start and run afterwards ocis list.
Extended Environment Variables
Note, see the Registry documentation for details on the Micro Registry and their available settings.
The extended variables are defined in the following way. Read the Environment Variable Types documentation for important details. Column IV shows with which release the environment variable has been introduced.
Global Environment Variables
Note that the descriptions of these environment variables may differ depending on the service context.
The global variables are defined in the following way. Read the Environment Variable Types documentation for important details. Column IV shows with which release the environment variable has been introduced.