-
Notifications
You must be signed in to change notification settings - Fork 113
/
Copy pathsciencemesh-apps.toml
49 lines (41 loc) · 1.79 KB
/
sciencemesh-apps.toml
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
## Example configuration for the ScienceMesh app in ownCloud 10 / Nextcloud - Apps support
#
## This configuration file is to be used to enable Apps support in ScienceMesh.
## To contextualize this configuration for your deployment, please follow these steps:
#
# 1. In the [vars] section below, replace `your.revad.org` with your actual domain
# 2. Populate `wopi_endpoint` with your wopiserver endpoint
# 3. Define a shared secret, and match it with the secret defined in the wopiserver
[vars]
internal_gateway = "your.revad.org"
provider_domain = "your.revad.org"
wopi_endpoint = "http://your.wopi.org:8880"
wopi_shared_secret = "shared-secret-2"
[log]
level = "debug"
[shared]
gatewaysvc = "{{ vars.provider_domain }}:19000"
[[grpc.services.appprovider]]
driver = "wopi"
custom_mime_types_json = "/etc/revad/custom-mime-types-demo.json"
mime_types = ["application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.presentation", "text/rtf"]
app_provider_url = "{{ grpc.services.appprovider[0].address }}"
language = "en-GB"
[grpc.services.appprovider.drivers.wopi]
iop_secret = "{{ vars.wopi_shared_secret }}"
wopi_url = "{{ vars.wopi_endpoint }}"
app_name = "Collabora"
app_url = "http://collabora.docker:9980"
app_int_url = "http://collabora.docker:9980"
# [[grpc.services.appprovider]]
# driver = "wopi"
# custom_mime_types_json = "/etc/revad/custom-mime-types-demo.json"
# mime_types = ["text/markdown", "application/compressed-markdown", "text/plain"]
# app_provider_url = "{{ grpc.services.appprovider[1].address }}"
#
# [grpc.services.appprovider.drivers.wopi]
# iop_secret = "{{ vars.wopi_shared_secret }}"
# wopi_url = "{{ vars.wopi_endpoint }}"
# app_name = "CodiMD"
# app_url = "https://codimd.docker"
# app_int_url = "https://codimd.docker"