Make service region configurable
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
|
||||
parameters:
|
||||
s3.storage_path: '%kernel.project_dir%/var/s3storage'
|
||||
app.region: '%env(APP_REGION)%'
|
||||
|
||||
services:
|
||||
# default configuration for services in *this* file
|
||||
@@ -24,4 +25,5 @@ services:
|
||||
# please note that last definitions always *replace* previous ones
|
||||
App\Service\S3Service:
|
||||
arguments:
|
||||
$storageBasePath: '%s3.storage_path%'
|
||||
$storageBasePath: '%s3.storage_path%'
|
||||
$region: '%app.region%'
|
||||
|
||||
Reference in New Issue
Block a user