Since Symfony 4 the preferred way to configure external databases, queues and caches is to set a DSN. The flysystem bundle should be configurable in the same way. Example: https://symfony.com/doc/current/doctrine/dbal.html https://github.com/php-enqueue/dsn