mirror of https://github.com/flarum/flarum
Configure filesystem disk for avatars.
parent
ccc73498b1
commit
8ee8a0a9b9
|
@ -43,26 +43,9 @@ return [
|
||||||
|
|
||||||
'disks' => [
|
'disks' => [
|
||||||
|
|
||||||
'local' => [
|
'avatars' => [
|
||||||
'driver' => 'local',
|
'driver' => 'local',
|
||||||
'root' => storage_path().'/app',
|
'root' => public_path('avatars')
|
||||||
],
|
|
||||||
|
|
||||||
's3' => [
|
|
||||||
'driver' => 's3',
|
|
||||||
'key' => 'your-key',
|
|
||||||
'secret' => 'your-secret',
|
|
||||||
'region' => 'your-region',
|
|
||||||
'bucket' => 'your-bucket',
|
|
||||||
],
|
|
||||||
|
|
||||||
'rackspace' => [
|
|
||||||
'driver' => 'rackspace',
|
|
||||||
'username' => 'your-username',
|
|
||||||
'key' => 'your-key',
|
|
||||||
'container' => 'your-container',
|
|
||||||
'endpoint' => 'https://identity.api.rackspacecloud.com/v2.0/',
|
|
||||||
'region' => 'IAD',
|
|
||||||
],
|
],
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue