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
# Autogenerated
# Filename: nats-config-example.yaml

log:
  level: ""
  pretty: false
  color: false
  file: ""
debug:
  addr: 127.0.0.1:9234
  token: ""
  pprof: false
  zpages: false
nats:
  host: 127.0.0.1
  port: 9233
  clusterid: ocis-cluster
  store_dir: ~/.ocis/nats

Environment Variables

Name Type Default Value Description
OCIS_LOG_LEVEL
NATS_LOG_LEVEL
string
OCIS_LOG_PRETTY
NATS_LOG_PRETTY
bool false
OCIS_LOG_COLOR
NATS_LOG_COLOR
bool false
OCIS_LOG_FILE
NATS_LOG_FILE
string
NATS_DEBUG_ADDR string 127.0.0.1:9234 Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
NATS_DEBUG_TOKEN string Token to secure the metrics endpoint
NATS_DEBUG_PPROF bool false Enables pprof, which can be used for profiling
NATS_DEBUG_ZPAGES bool false Enables zpages, which can be used for collecting and viewing traces in-me
NATS_NATS_HOST string 127.0.0.1
NATS_NATS_PORT int 9233
NATS_NATS_CLUSTER_ID string ocis-cluster
NATS_NATS_STORE_DIR string ~/.ocis/nats