Skip to content

Commit

Permalink
Update filesystem config, change FILESYSTEM_DRIVER env variable to DA…
Browse files Browse the repository at this point in the history
…NGEROUSLY_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
  • Loading branch information
dansup committed Apr 4, 2023
1 parent 672cccd commit 573c88d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .env.docker
Expand Up @@ -101,7 +101,6 @@ NODEINFO=true
WEBFINGER=true

## S3
FILESYSTEM_DRIVER=local
FILESYSTEM_CLOUD=s3
PF_ENABLE_CLOUD=false
#AWS_ACCESS_KEY_ID=
Expand Down
1 change: 0 additions & 1 deletion .env.example
Expand Up @@ -68,7 +68,6 @@ MAIL_FROM_NAME="Pixelfed"

## S3 Configuration (Post-Installer)
PF_ENABLE_CLOUD=false
FILESYSTEM_DRIVER=local
FILESYSTEM_CLOUD=s3
#AWS_ACCESS_KEY_ID=
#AWS_SECRET_ACCESS_KEY=
Expand Down
2 changes: 1 addition & 1 deletion config/filesystems.php
Expand Up @@ -13,7 +13,7 @@
|
*/

'default' => env('FILESYSTEM_DRIVER', 'local'),
'default' => env('DANGEROUSLY_SET_FILESYSTEM_DRIVER', 'local'),

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 573c88d

Please sign in to comment.