ownCloud
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage
Edit page

Service Configuration

Example YAML Config

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Autogenerated
# Filename: notifications-config-example.yaml

log:
  level: ""
  pretty: false
  color: false
  file: ""
debug:
  addr: 127.0.0.1:9174
  token: ""
  pprof: false
  zpages: false
notifications:
  SMTP:
    smtp_host: 127.0.0.1
    smtp_port: "1025"
    smtp_sender: noreply@example.com
    smtp_password: ""
  events:
    endpoint: 127.0.0.1:9233
    cluster: ocis-cluster
    group: notifications
  reva_gateway: 127.0.0.1:9142
  machine_auth_api_key: ""

Environment Variables

Name Type Default Value Description
OCIS_LOG_LEVEL
NOTIFICATIONS_LOG_LEVEL
string
OCIS_LOG_PRETTY
NOTIFICATIONS_LOG_PRETTY
bool false
OCIS_LOG_COLOR
NOTIFICATIONS_LOG_COLOR
bool false
OCIS_LOG_FILE
NOTIFICATIONS_LOG_FILE
string
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 traces in-me
NOTIFICATIONS_SMTP_HOST string 127.0.0.1
NOTIFICATIONS_SMTP_PORT string 1025
NOTIFICATIONS_SMTP_SENDER string noreply@example.com
NOTIFICATIONS_SMTP_PASSWORD string
NOTIFICATIONS_EVENTS_ENDPOINT string 127.0.0.1:9233
NOTIFICATIONS_EVENTS_CLUSTER string ocis-cluster
NOTIFICATIONS_EVENTS_GROUP string notifications
REVA_GATEWAY
NOTIFICATIONS_REVA_GATEWAY
string 127.0.0.1:9142 CS3 gateway used to look up user metadata
OCIS_MACHINE_AUTH_API_KEY
NOTIFICATIONS_MACHINE_AUTH_API_KEY
string Machine auth API key used to impersonate users when looking up their email