diff --git a/build/install/docker/docspace.dev.yml b/build/install/docker/docspace.dev.yml index 1b69434a79..79de9e6d64 100644 --- a/build/install/docker/docspace.dev.yml +++ b/build/install/docker/docspace.dev.yml @@ -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: diff --git a/config/apisystem.dev.json b/config/apisystem.dev.json new file mode 100644 index 0000000000..b064345659 --- /dev/null +++ b/config/apisystem.dev.json @@ -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 + } +}