не резолвит параметры httplug bundle?
httplug:
plugins:
redirect:
preserve_header: true
discovery:
client: 'auto'
clients:
ecommpay_api:
factory: 'httplug.factory.guzzle6'
config:
defaults:
timeout: 3
plugins:
- add_host:
host: 'https://api.ecommpay.com'
ecommpay_healtcheck:
factory: 'httplug.factory.guzzle6'
config:
defaults:
timeout: 3
plugins:
- add_host:
host: '%ecommpay.healthcheck_host%'
- authentication:
basic:
type: 'basic'
username: '%ecommpay.healthcheck_user%'
password: '%ecommpay.healthcheck_password%'
bin/console debug:container --parameter=ecommpay.healthcheck_host
--------------------------- -----------------------------------------
Parameter Value
--------------------------- -----------------------------------------
ecommpay.healthcheck_host %env(string:ECOMMPAY_HEALTHCHECK_HOST)%
--------------------------- -----------------------------------------
зачем эта простыня в чате?
dotenv?
Может быть связано с тем что .env в проде не работает?
Обсуждают сегодня