3.6 KiB
3.6 KiB
Environment Variables
| Name | Type | Default Value | Description |
|---|---|---|---|
| OCIS_LOG_LEVEL NOTIFICATIONS_LOG_LEVEL |
string | The log level. Valid values are: "panic", "fatal", "error", "warn", "info", "debug", "trace". | |
| OCIS_LOG_PRETTY NOTIFICATIONS_LOG_PRETTY |
bool | false | Activates pretty log output. |
| OCIS_LOG_COLOR NOTIFICATIONS_LOG_COLOR |
bool | false | Activates colorized log output. |
| OCIS_LOG_FILE NOTIFICATIONS_LOG_FILE |
string | The path to the log file. Activates logging to this file if set. | |
| NOTIFICATIONS_DEBUG_ADDR | string | 127.0.0.1:9174 | Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed. |
| NOTIFICATIONS_DEBUG_TOKEN | string | Token to secure the metrics endpoint. | |
| NOTIFICATIONS_DEBUG_PPROF | bool | false | Enables pprof, which can be used for profiling. |
| NOTIFICATIONS_DEBUG_ZPAGES | bool | false | Enables zpages, which can be used for collecting and viewing in-memory traces. |
| OCIS_URL NOTIFICATIONS_WEB_UI_URL |
string | https://localhost:9200 | The public facing URL of the oCIS Web UI, used e.g. when sending notification eMails |
| NOTIFICATIONS_SMTP_HOST | string | SMTP host to connect to. | |
| NOTIFICATIONS_SMTP_PORT | int | 1025 | Port of the SMTP host to connect to. |
| NOTIFICATIONS_SMTP_SENDER | string | ownCloud <noreply@example.com> | Sender address of emails that will be sent. |
| NOTIFICATIONS_SMTP_USERNAME | string | Username for the SMTP host to connect to. | |
| NOTIFICATIONS_SMTP_PASSWORD | string | Password for the SMTP host to connect to. | |
| NOTIFICATIONS_SMTP_INSECURE | bool | false | Allow insecure connections to the SMTP server. |
| NOTIFICATIONS_SMTP_AUTHENTICATION | string | none | Authentication method for the SMTP communication. Possible values are 'login', 'plain', 'crammd5', 'none' |
| NOTIFICATIONS_SMTP_ENCRYPTION | string | none | Encryption method for the SMTP communication. Possible values are 'starttls', 'ssl', 'ssltls', 'tls' and 'none'. |
| OCIS_EVENTS_ENDPOINT NOTIFICATIONS_EVENTS_ENDPOINT |
string | 127.0.0.1:9233 | The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. |
| OCIS_EVENTS_CLUSTER NOTIFICATIONS_EVENTS_CLUSTER |
string | ocis-cluster | The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Mandatory when using NATS as event system. |
| NOTIFICATIONS_EVENTS_GROUP | string | notifications | Name of the event group / queue on the event system. |
| OCIS_INSECURE NOTIFICATIONS_EVENTS_TLS_INSECURE |
bool | false | Whether to verify the server TLS certificates. |
| NOTIFICATIONS_EVENTS_TLS_ROOT_CA_CERTIFICATE | string | The root CA certificate used to validate the server's TLS certificate. If provided NOTIFICATIONS_EVENTS_TLS_INSECURE will be seen as false. | |
| OCIS_EVENTS_ENABLE_TLS NOTIFICATIONS_EVENTS_ENABLE_TLS |
bool | false | Enable TLS for the connection to the events broker. The events broker is the ocis service which receives and delivers events between the services.. |
| OCIS_MACHINE_AUTH_API_KEY NOTIFICATIONS_MACHINE_AUTH_API_KEY |
string | Machine auth API key used to validate internal requests necessary to access resources from other services. | |
| OCIS_EMAIL_TEMPLATE_PATH NOTIFICATIONS_EMAIL_TEMPLATE_PATH |
string | Path to Email notification templates overriding embedded ones. | |
| OCIS_REVA_GATEWAY REVA_GATEWAY |
string | 127.0.0.1:9142 | CS3 gateway used to look up user metadata |