|
|
|
@ -1,70 +1,187 @@ |
|
|
|
{ |
|
|
|
"urls": { |
|
|
|
/* |
|
|
|
* Set the base url of your application, to generate correct urls in background process. |
|
|
|
*/ |
|
|
|
"baseUrl": "http://localhost:5000" |
|
|
|
}, |
|
|
|
|
|
|
|
"logging": { |
|
|
|
"human": false |
|
|
|
/* |
|
|
|
* Setting the flag to true, enables well formatteds json logs. |
|
|
|
*/ |
|
|
|
"human": false |
|
|
|
}, |
|
|
|
|
|
|
|
/* |
|
|
|
* The pub sub mechanmism distributes messages between the nodes. |
|
|
|
*/ |
|
|
|
"pubSub": { |
|
|
|
/* |
|
|
|
* Define the type of the read store. |
|
|
|
* |
|
|
|
* Supported: InMemory (for single node only), Redis (for cluster) |
|
|
|
*/ |
|
|
|
"type": "InMemory", |
|
|
|
"redis": { |
|
|
|
/* |
|
|
|
* Connection string to your redis server. |
|
|
|
* |
|
|
|
* Read More: https://github.com/ServiceStack/ServiceStack.Redis#redis-connection-strings |
|
|
|
*/ |
|
|
|
"configuration": "localhost:6379,resolveDns=1" |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
"assetStore": { |
|
|
|
/* |
|
|
|
* Define the type of the read store. |
|
|
|
* |
|
|
|
* Supported: Folder (local folder), GoogleCloud (hosted in Google Cloud only) |
|
|
|
*/ |
|
|
|
"type": "Folder", |
|
|
|
"folder": { |
|
|
|
/* |
|
|
|
* The relative or absolute path to the folder to store the assets. |
|
|
|
*/ |
|
|
|
"path": "Assets" |
|
|
|
}, |
|
|
|
"googleCloud": { |
|
|
|
/* |
|
|
|
* The name of the bucket in google cloud store. |
|
|
|
*/ |
|
|
|
"bucket": "squidex-assets" |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
"eventStore": { |
|
|
|
/* |
|
|
|
* Define the type of the event store. |
|
|
|
* |
|
|
|
* Supported: MongoDb, GetEventStore |
|
|
|
*/ |
|
|
|
"type": "MongoDb", |
|
|
|
"mongoDb": { |
|
|
|
/* |
|
|
|
* The connection string to your Mongo Server. |
|
|
|
* |
|
|
|
* Read More: https://docs.mongodb.com/manual/reference/connection-string/ |
|
|
|
*/ |
|
|
|
"configuration": "mongodb://localhost", |
|
|
|
/* |
|
|
|
* The name of the event store database. |
|
|
|
*/ |
|
|
|
"database": "Squidex" |
|
|
|
}, |
|
|
|
"getEventStore": { |
|
|
|
/* |
|
|
|
* The connection string to your EventStore. |
|
|
|
* |
|
|
|
* Read Mode: http://docs.geteventstore.com/dotnet-api/4.0.0/connecting-to-a-server/ |
|
|
|
*/ |
|
|
|
"configuration": "ConnectTo=tcp://admin:changeit@localhost:1113; HeartBeatTimeout=500", |
|
|
|
/* |
|
|
|
* The host name of your EventStore where projection requests will be sent to. |
|
|
|
*/ |
|
|
|
"projectionHost": "localhost", |
|
|
|
/* |
|
|
|
* Prefix for all streams and projections (for multiple installations). |
|
|
|
*/ |
|
|
|
"prefix": "squidex" |
|
|
|
}, |
|
|
|
/* |
|
|
|
* Consume the events on this server (Ensure that it is only enabled on a single node). |
|
|
|
*/ |
|
|
|
"consume": true |
|
|
|
}, |
|
|
|
|
|
|
|
"eventPublishers": { |
|
|
|
/* |
|
|
|
* Additional event publishers (advanced usage only): (Name => Config) |
|
|
|
*/ |
|
|
|
"allToRabbitMq": { |
|
|
|
/* |
|
|
|
* Example:: Push all events to RabbitMq. |
|
|
|
*/ |
|
|
|
"type": "RabbitMq", |
|
|
|
"configuration": "amqp://guest:guest@localhost/", |
|
|
|
"exchange": "squidex", |
|
|
|
"enabled": false, |
|
|
|
"eventsFilter": "*" |
|
|
|
} |
|
|
|
}, |
|
|
|
"eventsFilter": ".*" |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
"store": { |
|
|
|
/* |
|
|
|
* Define the type of the read store. |
|
|
|
* |
|
|
|
* Supported: MongoDb |
|
|
|
*/ |
|
|
|
"type": "MongoDb", |
|
|
|
"mongoDb": { |
|
|
|
/* |
|
|
|
* The connection string to your Mongo Server. |
|
|
|
* |
|
|
|
* Read More: https://docs.mongodb.com/manual/reference/connection-string/ |
|
|
|
*/ |
|
|
|
"configuration": "mongodb://localhost", |
|
|
|
/* |
|
|
|
* The database for all your content collections (one collection per app). |
|
|
|
*/ |
|
|
|
"contentDatabase": "SquidexContent", |
|
|
|
/* |
|
|
|
* The database for all your other read collections. |
|
|
|
*/ |
|
|
|
"database": "Squidex" |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
"identity": { |
|
|
|
/* |
|
|
|
* Enable password auth. |
|
|
|
*/ |
|
|
|
"allowPasswordAuth": true, |
|
|
|
/* |
|
|
|
* Settings for Google auth (keep empty to disable). |
|
|
|
*/ |
|
|
|
"googleClient": "1006817248705-t3lb3ge808m9am4t7upqth79hulk456l.apps.googleusercontent.com", |
|
|
|
"googleSecret": "QsEi-fHqkGw2_PjJmtNHf2wg", |
|
|
|
/* |
|
|
|
* Settings for Github auth (keep empty to disable). |
|
|
|
*/ |
|
|
|
"githubClient": "211ea00e726baf754c78", |
|
|
|
"githubSecret": "d0a0d0fe2c26469ae20987ac265b3a339fd73132", |
|
|
|
/* |
|
|
|
* Settings for Microsoft auth (keep empty to disable). |
|
|
|
*/ |
|
|
|
"microsoftClient": "b55da740-6648-4502-8746-b9003f29d5f1", |
|
|
|
"microsoftSecret": "idWbANxNYEF4cB368WXJhjN", |
|
|
|
/* |
|
|
|
* Lock new users automatically, the administrator must unlock them. |
|
|
|
*/ |
|
|
|
"lockAutomatically": true, |
|
|
|
|
|
|
|
"keysStore": { |
|
|
|
/* |
|
|
|
* Define the type of the key store. |
|
|
|
* |
|
|
|
* Supported: InMemory (development only), Folder (shared or local), Redis |
|
|
|
* |
|
|
|
* Read More: https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/implementation/key-storage-providers |
|
|
|
*/ |
|
|
|
"type": "InMemory", |
|
|
|
"redis": { |
|
|
|
/* |
|
|
|
* Connection string to your redis server. |
|
|
|
* |
|
|
|
* Read More: https://github.com/ServiceStack/ServiceStack.Redis#redis-connection-strings |
|
|
|
*/ |
|
|
|
"configuration": "localhost:6379,resolveDns=1" |
|
|
|
}, |
|
|
|
"folder": { |
|
|
|
/* |
|
|
|
* Relative or absolute path to your encryption keys folder. |
|
|
|
*/ |
|
|
|
"path": "keys" |
|
|
|
} |
|
|
|
} |
|
|
|
|