Zum Hauptinhalt springen

Environment Variables

Environment variables for the collaboration service

NameIntroduction VersionTypeDescriptionDefault Value
COLLABORATION_APP_NAME1.0.0stringThe name of the app which is shown to the user. You can chose freely but you are limited to a single word without special characters or whitespaces. We recommend to use pascalCase like 'CollaboraOnline'.Collabora
COLLABORATION_APP_PRODUCT1.0.0stringThe WebOffice app, either Collabora, OnlyOffice, Microsoft365 or MicrosoftOfficeOnline.
COLLABORATION_APP_DESCRIPTION1.0.0stringApp descriptionOpen office documents with Collabora
COLLABORATION_APP_ICON1.0.0stringIcon for the appimage-edit
COLLABORATION_APP_ADDR1.0.0stringThe URL where the WOPI app is located, such as \https://127.0.0.1:8080.https://127.0.0.1:9980
COLLABORATION_APP_INSECURE1.0.0boolSkip TLS certificate verification when connecting to the WOPI appfalse
COLLABORATION_APP_PROOF_DISABLE1.0.0boolDisable the proof keys verificationfalse
COLLABORATION_APP_PROOF_DURATION1.0.0stringDuration for the proof keys to be cached in memory, using time.ParseDuration format. If the duration can't be parsed, we'll use the default 12h as duration12h
COLLABORATION_APP_LICENSE_CHECK_ENABLE1.0.0boolEnable license checking to edit files. Needs to be enabled when using Microsoft365 with the business flow.false
OC_PERSISTENT_STORE
COLLABORATION_STORE
1.0.0stringThe type of the store. Supported values are: 'memory', 'nats-js-kv', 'redis-sentinel', 'noop'. See the text description for details.nats-js-kv
OC_PERSISTENT_STORE_NODES
COLLABORATION_STORE_NODES
1.0.0[]stringA list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.[127.0.0.1:9233]
COLLABORATION_STORE_DATABASE1.0.0stringThe database name the configured store should use.collaboration
COLLABORATION_STORE_TABLE1.0.0stringThe database table the store should use.
OC_PERSISTENT_STORE_TTL
COLLABORATION_STORE_TTL
1.0.0DurationTime to live for events in the store. Defaults to '30m' (30 minutes). See the Environment Variable Types description for more details.30m0s
OC_PERSISTENT_STORE_AUTH_USERNAME
COLLABORATION_STORE_AUTH_USERNAME
1.0.0stringThe username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
OC_PERSISTENT_STORE_AUTH_PASSWORD
COLLABORATION_STORE_AUTH_PASSWORD
1.0.0stringThe password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
OC_JWT_SECRET
COLLABORATION_JWT_SECRET
1.0.0stringThe secret to mint and validate jwt tokens.
COLLABORATION_GRPC_ADDR1.0.0stringThe bind address of the GRPC service.127.0.0.1:9301
OC_GRPC_PROTOCOL
COLLABORATION_GRPC_PROTOCOL
1.0.0stringThe transport protocol of the GRPC service.tcp
COLLABORATION_HTTP_ADDR1.0.0stringThe bind address of the HTTP service.127.0.0.1:9300
OC_HTTP_TLS_ENABLED1.0.0boolActivates TLS for the http based services using the server certifcate and key configured via OC_HTTP_TLS_CERTIFICATE and OC_HTTP_TLS_KEY. If OC_HTTP_TLS_CERTIFICATE is not set a temporary server certificate is generated - to be used with PROXY_INSECURE_BACKEND=true.false
OC_HTTP_TLS_CERTIFICATE1.0.0stringPath/File name of the TLS server certificate (in PEM format) for the http services.
OC_HTTP_TLS_KEY1.0.0stringPath/File name for the TLS certificate key (in PEM format) for the server certificate to use for the http services.
COLLABORATION_WOPI_SRC1.0.0stringThe WOPI source base URL containing schema, host and port. Set this to the schema and domain where the collaboration service is reachable for the wopi app, such as \https://office.example.test.https://localhost:9300
COLLABORATION_WOPI_SECRET1.0.0stringUsed to mint and verify WOPI JWT tokens and encrypt and decrypt the REVA JWT token embedded in the WOPI JWT token.
COLLABORATION_WOPI_DISABLE_CHAT
OC_WOPI_DISABLE_CHAT
1.0.0boolDisable chat in the office web frontend. This feature applies to OnlyOffice and Microsoft.false
COLLABORATION_WOPI_PROXY_URL1.0.0stringThe URL to the OpenCloud WOPI proxy. Optional. To use this feature, you need an office365 proxy subscription. If you become part of the Microsoft CSP program (\https://learn.microsoft.com/en-us/partner-center/enroll/csp-overview), you can use WebOffice without a proxy.
COLLABORATION_WOPI_PROXY_SECRET1.0.0stringOptional, the secret to authenticate against the OpenCloud WOPI proxy. This secret can be obtained from OpenCloud via the office365 proxy subscription.
COLLABORATION_WOPI_SHORTTOKENS1.0.0boolUse short access tokens for WOPI access. This is useful for office packages, like Microsoft Office Online, which have URL length restrictions. If enabled, a persistent store must be configured.false
OC_REVA_GATEWAY1.0.0stringCS3 gateway used to look up user metadata.eu.opencloud.api.gateway
COLLABORATION_CS3API_DATAGATEWAY_INSECURE1.0.0boolConnect to the CS3API data gateway insecurely.false
OC_TRACING_ENABLED
COLLABORATION_TRACING_ENABLED
1.0.0boolActivates tracing.false
OC_TRACING_TYPE
COLLABORATION_TRACING_TYPE
1.0.0stringThe type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
OC_TRACING_ENDPOINT
COLLABORATION_TRACING_ENDPOINT
1.0.0stringThe endpoint of the tracing agent.
OC_TRACING_COLLECTOR
COLLABORATION_TRACING_COLLECTOR
1.0.0stringThe HTTP endpoint for sending spans directly to a collector, i.e. \http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset.
OC_LOG_LEVEL
COLLABORATION_LOG_LEVEL
1.0.0stringThe log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.
OC_LOG_PRETTY
COLLABORATION_LOG_PRETTY
1.0.0boolActivates pretty log output.false
OC_LOG_COLOR
COLLABORATION_LOG_COLOR
1.0.0boolActivates colorized log output.false
OC_LOG_FILE
COLLABORATION_LOG_FILE
1.0.0stringThe path to the log file. Activates logging to this file if set.
COLLABORATION_DEBUG_ADDR1.0.0stringBind address of the debug server, where metrics, health, config and debug endpoints will be exposed.127.0.0.1:9304
COLLABORATION_DEBUG_TOKEN1.0.0stringToken to secure the metrics endpoint.
COLLABORATION_DEBUG_PPROF1.0.0boolEnables pprof, which can be used for profiling.false
COLLABORATION_DEBUG_ZPAGES1.0.0boolEnables zpages, which can be used for collecting and viewing in-memory traces.false