Build: Docker: fix run api-system

This commit is contained in:
Alexey Safronov 2022-12-09 16:37:19 +03:00
parent 8f26594d59
commit fb3af4d1c0
2 changed files with 50 additions and 0 deletions

View File

@ -29,6 +29,7 @@ x-service: &x-service-base
- files_data:/var/www/products/ASC.Files/server/
- people_data:/var/www/products/ASC.People/server/
- ${ROOT_DIR}/config/appsettings.${ENV_EXTENSION}.json:/app/onlyoffice/config/appsettings.${ENV_EXTENSION}.json
- ${ROOT_DIR}/config/apisystem.${ENV_EXTENSION}.json:/app/onlyoffice/config/apisystem.${ENV_EXTENSION}.json
services:
onlyoffice-elasticsearch:

49
config/apisystem.dev.json Normal file
View File

@ -0,0 +1,49 @@
{
"core": {
"base-domain": "localhost",
"machinekey": "your_core_machinekey",
"notify": {
"postman": "log"
},
"payment-partners": "",
"username": {
"regex": "^[\\p{L}\\p{M}' \\-]+$"
}
},
"web": {
"alias": {
"min": 3
},
"api-cache": "",
"autotest": {
"secret-email": ""
},
"app": {
"keys": ""
}
},
"recaptcha": {
"required": false,
"private-key": {
"default": "",
"android": "",
"ios": ""
}
},
"auth": {
"allowskip": {
"default": false,
"registerportal": true
}
},
"ConnectionStrings": {
"default": {
"name": "default",
"connectionString": "Server=onlyoffice-mysql-server;Port=3306;Database=onlyoffice;User ID=onlyoffice_user;Password=onlyoffice_pass;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;ConnectionReset=false",
"providerName": "MySql.Data.MySqlClient"
}
},
"quota": {
"id": -3
}
}