feat: only office dev env (#105)
This commit is contained in:
@@ -20,7 +20,9 @@
|
||||
"client_secret":"",
|
||||
"issuer":"",
|
||||
"audience":"",
|
||||
"redirect_uris": [""],
|
||||
"redirect_uris":[
|
||||
""
|
||||
],
|
||||
"account_management_url":"http://web.tdrive-console.local/profile?company-code={company_id}",
|
||||
"collaborators_management_url":"http://web.tdrive-console.local/compaies/{company_id}/users?company-code={company_id}",
|
||||
"company_management_url":"http://web.tdrive-console.local/companies?company-code={company_id}"
|
||||
@@ -57,7 +59,9 @@
|
||||
"websocket":{
|
||||
"path":"/socket/",
|
||||
"adapters":{
|
||||
"types": [],
|
||||
"types":[
|
||||
|
||||
],
|
||||
"redis":{
|
||||
"host":"redis",
|
||||
"port":6379
|
||||
@@ -84,7 +88,9 @@
|
||||
"database":"tdrive"
|
||||
},
|
||||
"cassandra":{
|
||||
"contactPoints": ["scylladb:9042"],
|
||||
"contactPoints":[
|
||||
"scylladb:9042"
|
||||
],
|
||||
"localDataCenter":"datacenter1",
|
||||
"keyspace":"tdrive",
|
||||
"wait":false,
|
||||
@@ -96,7 +102,9 @@
|
||||
"// possible 'type' values are":"'amqp' or 'local'",
|
||||
"type":"amqp",
|
||||
"amqp":{
|
||||
"urls": ["amqp://guest:guest@rabbitmq:5672"]
|
||||
"urls":[
|
||||
"amqp://guest:guest@rabbitmq:5672"
|
||||
]
|
||||
}
|
||||
},
|
||||
"search":{
|
||||
@@ -165,7 +173,71 @@
|
||||
"url":"https://jitsi.linagora.com/"
|
||||
}
|
||||
],
|
||||
"plugins": []
|
||||
"plugins":[
|
||||
{
|
||||
"api":{
|
||||
"private_key":"c1cc66db78e1d3bb4713c55d5ab2"
|
||||
},
|
||||
"display":{
|
||||
"tdrive":{
|
||||
"files":{
|
||||
"editor":{
|
||||
"edition_url":"http://localhost:5000/plugins/onlyoffice/",
|
||||
"empty_files":[
|
||||
{
|
||||
"filename":"Untitled.docx",
|
||||
"name":"ONLYOFFICE Word Document",
|
||||
"url":"/plugins/onlyoffice/assets/empty.docx"
|
||||
},
|
||||
{
|
||||
"filename":"Untitled.xlsx",
|
||||
"name":"ONLYOFFICE Excel Document",
|
||||
"url":"/plugins/onlyoffice/assets/empty.xlsx"
|
||||
},
|
||||
{
|
||||
"filename":"Untitled.pptx",
|
||||
"name":"ONLYOFFICE PowerPoint Document",
|
||||
"url":"/plugins/onlyoffice/assets/empty.pptx"
|
||||
}
|
||||
],
|
||||
"extensions":[
|
||||
"xlsx",
|
||||
"pptx",
|
||||
"docx",
|
||||
"xls",
|
||||
"ppt",
|
||||
"doc",
|
||||
"odt",
|
||||
"ods",
|
||||
"odp",
|
||||
"txt",
|
||||
"html",
|
||||
"csv"
|
||||
],
|
||||
"preview_url":"http://localhost:5000/plugins/onlyoffice/?preview=1"
|
||||
}
|
||||
},
|
||||
"version":1
|
||||
}
|
||||
},
|
||||
"external_prefix":"/plugins/onlyoffice/",
|
||||
"id":"tdrive_onlyoffice",
|
||||
"identity":{
|
||||
"categories":[
|
||||
|
||||
],
|
||||
"code":"only_office",
|
||||
"compatibility":[
|
||||
"tdrive"
|
||||
],
|
||||
"description":null,
|
||||
"icon":"/plugins/onlyoffice/assets/logo.png",
|
||||
"name":"Only Office",
|
||||
"website":"http://twake.app/"
|
||||
},
|
||||
"internal_domain":"http://localhost:5000/"
|
||||
}
|
||||
]
|
||||
},
|
||||
"services":[
|
||||
"auth",
|
||||
|
||||
@@ -27,6 +27,8 @@ services:
|
||||
- DB_DRIVER=mongodb
|
||||
- PUBSUB_TYPE=local
|
||||
- ./docker-data/documents/:/storage/
|
||||
volumes:
|
||||
- ./docker-data/documents/:/storage/
|
||||
depends_on:
|
||||
- mongo
|
||||
links:
|
||||
@@ -57,6 +59,22 @@ services:
|
||||
networks:
|
||||
- tdrive_network
|
||||
|
||||
onlyoffice-connector:
|
||||
image: onlyoffice-connector
|
||||
hostname: onlyoffice_connector
|
||||
environment:
|
||||
- CREDENTIALS_ENDPOINT=http://tdrive_node:4000
|
||||
- ONLY_OFFICE_SERVER=http://localhost:8090/
|
||||
- SERVER_ORIGIN=
|
||||
- SERVER_PORT=5000
|
||||
- SERVER_PREFIX=/plugins/onlyoffice
|
||||
- CREDENTIALS_ID=tdrive_onlyoffice
|
||||
- CREDENTIALS_SECRET=c1cc66db78e1d3bb4713c55d5ab2
|
||||
ports:
|
||||
- 5000:5000
|
||||
networks:
|
||||
- tdrive_network
|
||||
|
||||
networks:
|
||||
tdrive_network:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user