4 * Filesystem configuration options.
6 * Changes to these config files are not supported by BookStack and may break upon updates.
7 * Configuration should be altered via the `.env` file or environment variables.
8 * Do not edit this file unless you're happy to maintain any changes yourself.
13 // Default Filesystem Disk
14 // Options: local, local_secure, s3
15 'default' => env('STORAGE_TYPE', 'local'),
17 // Filesystem to use specifically for image uploads.
18 'images' => env('STORAGE_IMAGE_TYPE', env('STORAGE_TYPE', 'local')),
20 // Filesystem to use specifically for file attachments.
21 'attachments' => env('STORAGE_ATTACHMENT_TYPE', env('STORAGE_TYPE', 'local')),
24 // This is the url to where the storage is located for when using an external
25 // file storage service, such as s3, to store publicly accessible assets.
26 'url' => env('STORAGE_URL', false),
28 // Default Cloud Filesystem Disk
31 // Available filesystem disks
32 // Only local, local_secure & s3 are supported by BookStack
37 'root' => public_path(),
42 'root' => storage_path(),
47 'key' => env('STORAGE_S3_KEY', 'your-key'),
48 'secret' => env('STORAGE_S3_SECRET', 'your-secret'),
49 'region' => env('STORAGE_S3_REGION', 'your-region'),
50 'bucket' => env('STORAGE_S3_BUCKET', 'your-bucket'),
51 'endpoint' => env('STORAGE_S3_ENDPOINT', null),
52 'use_path_style_endpoint' => env('STORAGE_S3_ENDPOINT', null) !== null,