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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Autogenerated
# Filename: webdav-config-example.yaml

tracing:
  enabled: false
  type: ""
  endpoint: ""
  collector: ""
log:
  level: ""
  pretty: false
  color: false
  file: ""
debug:
  addr: 127.0.0.1:9119
  token: ""
  pprof: false
  zpages: false
http:
  addr: 127.0.0.1:9115
  root: /
  cors:
    allowed_origins:
    - '*'
    allowed_methods:
    - GET
    - POST
    - PUT
    - PATCH
    - DELETE
    - OPTIONS
    allowed_headers:
    - Authorization
    - Origin
    - Content-Type
    - Accept
    - X-Requested-With
    allow_credentials: true
ocis_public_url: https://127.0.0.1:9200
webdav_namespace: /users/{{.Id.OpaqueId}}
reva_gateway: 127.0.0.1:9142

Environment Variables

Name Type Default Value Description
OCIS_TRACING_ENABLED
WEBDAV_TRACING_ENABLED
bool false Enable tracing.
OCIS_TRACING_TYPE
WEBDAV_TRACING_TYPE
string The tracing type.
OCIS_TRACING_ENDPOINT
WEBDAV_TRACING_ENDPOINT
string The tracing service endpoint.
OCIS_TRACING_COLLECTOR
WEBDAV_TRACING_COLLECTOR
string The tracing collector.
OCIS_LOG_LEVEL
WEBDAV_LOG_LEVEL
string The log level.
OCIS_LOG_PRETTY
WEBDAV_LOG_PRETTY
bool false Enable pretty log output.
OCIS_LOG_COLOR
WEBDAV_LOG_COLOR
bool false Enable colored log output.
OCIS_LOG_FILE
WEBDAV_LOG_FILE
string The path to the file if the log should write to file.
WEBDAV_DEBUG_ADDR string 127.0.0.1:9119 Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
WEBDAV_DEBUG_TOKEN string Token to secure the metrics endpoint
WEBDAV_DEBUG_PPROF bool false Enables pprof, which can be used for profiling
WEBDAV_DEBUG_ZPAGES bool false Enables zpages, which can be used for collecting and viewing traces in-me
WEBDAV_HTTP_ADDR string 127.0.0.1:9115 The HTTP API address.
WEBDAV_HTTP_ROOT string / The HTTP API root path.
OCIS_URL
OCIS_PUBLIC_URL
string https://127.0.0.1:9200
WEBDAV_WEBDAV_NAMESPACE string /users/{{.Id.OpaqueId}} CS3 path layout to use when forwarding /webdav requests
REVA_GATEWAY string 127.0.0.1:9142