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
42
43
44
45
46
47
48
49
50
# Autogenerated
# Filename: web-config-example.yaml

tracing:
  enabled: false
  type: ""
  endpoint: ""
  collector: ""
log:
  level: ""
  pretty: false
  color: false
  file: ""
debug:
  addr: 127.0.0.1:9104
  token: ""
  pprof: false
  zpages: false
http:
  addr: 127.0.0.1:9100
  root: /
  cache_ttl: 604800
asset:
  path: ""
file: ""
web:
  path: ""
  theme_server: https://localhost:9200
  theme_path: /themes/owncloud/theme.json
  config:
    server: https://localhost:9200
    theme: ""
    version: 0.1.0
    oids:
      metadata_url: https://localhost:9200/.well-known/openid-configuration
      authority: https://localhost:9200
      client_id: web
      response_type: code
      scope: openid profile email
    apps:
    - files
    - search
    - preview
    - text-editor
    - pdf-viewer
    - external
    - user-management
    external_apps: []
    options:
      hideSearchBar: false

Environment Variables

Name Type Default Value Description
OCIS_TRACING_ENABLED
WEB_TRACING_ENABLED
bool false
OCIS_TRACING_TYPE
WEB_TRACING_TYPE
string
OCIS_TRACING_ENDPOINT
WEB_TRACING_ENDPOINT
string
OCIS_TRACING_COLLECTOR
WEB_TRACING_COLLECTOR
string
OCIS_LOG_LEVEL
WEB_LOG_LEVEL
string
OCIS_LOG_PRETTY
WEB_LOG_PRETTY
bool false
OCIS_LOG_COLOR
WEB_LOG_COLOR
bool false
OCIS_LOG_FILE
WEB_LOG_FILE
string
WEB_DEBUG_ADDR string 127.0.0.1:9104 Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
WEB_DEBUG_TOKEN string Token to secure the metrics endpoint
WEB_DEBUG_PPROF bool false Enables pprof, which can be used for profiling
WEB_DEBUG_ZPAGES bool false Enables zpages, which can be used for collecting and viewing traces in-me
WEB_HTTP_ADDR string 127.0.0.1:9100
WEB_HTTP_ROOT string /
WEB_CACHE_TTL int 604800
WEB_ASSET_PATH string
WEB_UI_CONFIG string
WEB_UI_PATH string
OCIS_URL
WEB_UI_THEME_SERVER
string https://localhost:9200
WEB_UI_THEME_PATH string /themes/owncloud/theme.json
OCIS_URL
WEB_UI_CONFIG_SERVER
string https://localhost:9200
string
WEB_UI_CONFIG_VERSION string 0.1.0
WEB_OIDC_METADATA_URL string https://localhost:9200/.well-known/openid-configuration
OCIS_URL
OCIS_OIDC_ISSUER
WEB_OIDC_AUTHORITY
string https://localhost:9200
WEB_OIDC_CLIENT_ID string web
WEB_OIDC_RESPONSE_TYPE string code
WEB_OIDC_SCOPE string openid profile email