DocSpace-client/config/appsettings.json

415 lines
8.6 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Debug",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
},
"EventLog": {
"LogLevel": {
"Default": "None"
}
}
},
"AllowedHosts": "*",
"core": {
"base-domain": "",
"cors": "",
"machinekey": "1123askdasjklasbnd",
"notify": {
"postman": "log"
},
"payment": {
"delay": 10,
"region": "test",
"test": true,
"url": "",
"key": "",
"secret": ""
},
"personal": false,
"disableDocspace": false,
"products": {
"folder": "../../products",
"subfolder": "Server"
},
"search-by-content": false,
"hosting": {
"intervalCheckRegisterInstanceInSeconds": "1",
"timeUntilUnregisterInSeconds": "15",
"singletonMode": true,
"forwardedHeadersOptions": {
"knownNetworks": [],
"knownProxies": ["127.0.0.1"]
}
},
"themelimit": "9",
"oidc": {
"authority": ""
},
"server-root": ""
},
"license": {
"file": {
"path": ""
}
},
"mail": {
"certificate-permit": false,
"daemon-email": "mail-daemon@onlyoffice.com",
"server-mailbox-limit-per-user": 2
},
"messaging": {
"enabled": "true"
},
"version": {
"number": "1.0.0",
"release": {
"date": "",
"sign": ""
}
},
"files": {
"thirdparty": {
"enable": [
"box",
"dropboxv2",
"docusign",
"google",
"onedrive",
"sharepoint",
"nextcloud",
"owncloud",
"webdav",
"kdrive"
]
},
"docservice": {
"coauthor-docs": [
".pptx",
".ppsx",
".xlsx",
".csv",
".docx",
".docxf",
".oform",
".txt"
],
"commented-docs": [".docx", ".docxf", ".xlsx", ".pptx"],
"convert-docs": [
".pptm",
".ppt",
".ppsm",
".pps",
".potx",
".potm",
".pot",
".odp",
".fodp",
".otp",
".xlsm",
".xls",
".xltx",
".xltm",
".xlt",
".ods",
".fods",
".ots",
".docm",
".doc",
".dotx",
".dotm",
".dot",
".odt",
".fodt",
".ott",
".rtf",
".xml"
],
"edited-docs": [
".pptx",
".pptm",
".ppt",
".ppsx",
".ppsm",
".pps",
".potx",
".potm",
".pot",
".odp",
".fodp",
".otp",
".xlsx",
".xlsm",
".xls",
".xltx",
".xltm",
".xlt",
".ods",
".fods",
".ots",
".csv",
".docx",
".docxf",
".oform",
".docm",
".doc",
".dotx",
".dotm",
".dot",
".odt",
".fodt",
".ott",
".txt",
".rtf",
".mht",
".html",
".htm"
],
"encrypted-docs": [".docx", ".docxf", ".xlsx", ".pptx", ".oform"],
"formfilling-docs": [".oform"],
"customfilter-docs": [".xlsx"],
"reviewed-docs": [".docx", ".docxf"],
"viewed-docs": [
".pptx",
".pptm",
".ppt",
".ppsx",
".ppsm",
".pps",
".potx",
".potm",
".pot",
".odp",
".fodp",
".otp",
".gslides",
".xlsx",
".xlsm",
".xls",
".xltx",
".xltm",
".xlt",
".ods",
".fods",
".ots",
".gsheet",
".csv",
".docx",
".docxf",
".oform",
".docm",
".doc",
".dotx",
".dotm",
".dot",
".odt",
".fodt",
".ott",
".gdoc",
".txt",
".rtf",
".mht",
".html",
".htm",
".xml",
".fb2",
".epub",
".pdf",
".djvu",
".xps",
".oxps"
],
"secret": {
"value": "secret",
"header": "AuthorizationJwt"
},
"url": {
"public": "http://localhost:8085/",
"internal": "",
"portal": ""
}
},
"ffmpeg": {
"value": "",
"exts": ["avi", "mpeg", "mpg", "wmv"]
},
"uploader": {
"chunk-size": 10485760,
"url": "/"
},
"viewed-images": [
".svg",
".bmp",
".gif",
".jpeg",
".jpg",
".png",
".ico",
".tif",
".tiff",
".webp"
],
"viewed-media": [
".aac",
".flac",
".m4a",
".mp3",
".oga",
".ogg",
".wav",
".f4v",
".m4v",
".mov",
".mp4",
".ogv",
".webm"
],
"index": [".pptx", ".xlsx", ".docx"],
"oform": {
"url": "https://cmsoforms.onlyoffice.com/api/oforms/",
"ext": ".oform"
}
},
"web": {
"api": "api/2.0",
"alias": {
"min": 3,
"max": 50
},
"api-system": "",
"api-cache": "",
"images": "static/images",
"hide-settings": "Monitoring,LdapSettings,DocService,MailService,PublicPortal,ProxyHttpContent,SpamSubscription,FullTextSearch",
"hub": {
"url": "/socket.io",
"internal": "http://localhost:9899/"
},
"cultures": "az,cs,el-GR,es,fr,ja-JP,lo-LA,nl,pt,ro,sk,tr,vi,bg,de,en-US,en-GB,fi,it,ko-KR,lv,pl,pt-BR,ru,sl,uk-UA,zh-CN",
"controlpanel": {
"url": ""
},
"legalterms": "https://help.onlyoffice.co/products/files/doceditor.aspx?fileid=5048502&doc=SXhWMEVzSEYxNlVVaXJJeUVtS0kyYk14YWdXTEFUQmRWL250NllHNUFGbz0_IjUwNDg1MDIi0",
"support-feedback": "https://helpdesk.onlyoffice.com",
"teamlab-site": "http://www.onlyoffice.com",
"help-center": "https://helpcenter.onlyoffice.com/{ru|de|fr|es|it}",
"book-training-email": "training@onlyoffice.com",
"documentation-email": "documentation@onlyoffice.com",
"max-upload-size": 5242880,
"zendesk-key": "",
"samesite": ""
},
"ConnectionStrings": {
"default": {
"name": "default",
"connectionString": "Server=localhost;Database=docspace;User ID=dev;Password=dev;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=True;Connection Timeout=30;Maximum Pool Size=300;ConnectionReset=false",
"providerName": "MySql.Data.MySqlClient"
},
"teamlabsite": {
"name": "teamlabsite",
"connectionString": "Server=localhost;Database=teamlabsite;User ID=dev;Password=dev;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=True;Connection Timeout=30;Maximum Pool Size=300;ConnectionReset=false",
"providerName": "MySql.Data.MySqlClient"
}
},
"migration": {
"enabled": "false"
},
"DbProviderFactories": {
"mysql": {
"name": "MySQL Data Provider",
"invariant": "MySql.Data.MySqlClient",
"description": ".Net Framework Data Provider for MySQL",
"type": "MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data"
}
},
"bookmarking": {
"thumbnail-url": "http://localhost:9800/?url={0}"
},
"storage": {
"encryption": {
"progressfile": "false",
"tempdir": ""
}
},
"firebase": {
"projectId": "",
"privateKeyId": "",
"privateKey": "",
"clientEmail": "",
"clientId": "",
"x509CertUrl": "",
"apiKey": "",
"authDomain": "",
"storageBucket": "",
"messagingSenderId": "",
"appId": "",
"measurementId": ""
},
"debug-info": {
"enabled": "true"
},
"thumbnail": {
"maxDegreeOfParallelism": 1,
"sizes": [
{
"height": 156,
"width": 216
},
{
"height": 156,
"width": 240
},
{
"height": 156,
"width": 264
},
{
"height": 156,
"width": 288
},
{
"height": 156,
"width": 312
},
{
"height": 156,
"width": 336
},
{
"height": 156,
"width": 360
},
{
"height": 156,
"width": 400
},
{
"height": 156,
"width": 440
},
{
"height": 720,
"width": 1280,
"resizeMode": "Max"
}
]
},
"radicale": {
"admin": "admin@radicale",
"path": "http://127.0.0.1:5232"
},
"plugins": {
"enabled": "false",
"allow": ["upload", "delete"]
},
"aws": {
"cloudWatch": {
"accessKeyId": "",
"secretAccessKey": "",
"region": "us-east-1",
"logGroupName": "/asc/docspace/cluster/cluster_name/general",
"logStreamName": "${hostname} - ${applicationContext} - ${date} - ${guid}"
}
}
}