Update filesystem config, change FILESYSTEM_DRIVER env variable to DANGEROUSLY_SET_FILESYSTEM_DRIVER and remove from default env configs. Changing the default filesystem should be avoided, use FILESYSTEM_CLOUD for s3 support, otherwise you can break things

This commit is contained in:
Daniel Supernault 2023-04-04 03:52:32 -06:00
parent 672cccd433
commit 573c88d7b5
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
3 changed files with 1 additions and 3 deletions

View file

@ -101,7 +101,6 @@ NODEINFO=true
WEBFINGER=true WEBFINGER=true
## S3 ## S3
FILESYSTEM_DRIVER=local
FILESYSTEM_CLOUD=s3 FILESYSTEM_CLOUD=s3
PF_ENABLE_CLOUD=false PF_ENABLE_CLOUD=false
#AWS_ACCESS_KEY_ID= #AWS_ACCESS_KEY_ID=

View file

@ -68,7 +68,6 @@ MAIL_FROM_NAME="Pixelfed"
## S3 Configuration (Post-Installer) ## S3 Configuration (Post-Installer)
PF_ENABLE_CLOUD=false PF_ENABLE_CLOUD=false
FILESYSTEM_DRIVER=local
FILESYSTEM_CLOUD=s3 FILESYSTEM_CLOUD=s3
#AWS_ACCESS_KEY_ID= #AWS_ACCESS_KEY_ID=
#AWS_SECRET_ACCESS_KEY= #AWS_SECRET_ACCESS_KEY=

View file

@ -13,7 +13,7 @@ return [
| |
*/ */
'default' => env('FILESYSTEM_DRIVER', 'local'), 'default' => env('DANGEROUSLY_SET_FILESYSTEM_DRIVER', 'local'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------