1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 14:14:04 +00:00

[1.8.0] Add more comments to the config file (#109)

This commit is contained in:
Samuel Štancl 2019-08-21 21:16:00 +02:00 committed by GitHub
parent f590e2ce2a
commit 1d10ac76f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,16 +15,16 @@ return [
],
],
'tenant_route_namespace' => 'App\Http\Controllers',
'exempt_domains' => [
'exempt_domains' => [ // e.g. domains which host landing pages, sign up pages, etc
// 'localhost',
],
'database' => [
'based_on' => 'mysql',
'based_on' => 'mysql', // The connection that will be used as a base for the dynamically created tenant connection.
'prefix' => 'tenant',
'suffix' => '',
],
'redis' => [
'tenancy' => false,
'tenancy' => false, // to enable Redis tenancy, you must use phpredis
'prefix_base' => 'tenant',
'prefixed_connections' => [
'default',
@ -34,7 +34,7 @@ return [
'cache' => [
'tag_base' => 'tenant',
],
'filesystem' => [
'filesystem' => [ // https://stancl-tenancy.netlify.com/docs/filesystem-tenancy/
'suffix_base' => 'tenant',
// Disks which should be suffixed with the suffix_base + tenant UUID.
'disks' => [