framework.yaml 1014 B

12345678910111213141516171819202122232425262728293031
  1. # see https://symfony.com/doc/current/reference/configuration/framework.html
  2. framework:
  3. secret: '%env(APP_SECRET)%'
  4. # Note that the session will be started ONLY if you read or write from it.
  5. session: true
  6. #esi: true
  7. #fragments: true
  8. http_client:
  9. scoped_clients:
  10. tmdb.client:
  11. base_uri: '%env(TMDB_URL)%'
  12. query:
  13. language: 'fr'
  14. #api_key: '%env(TMDB_APIKEY_V3)%'
  15. headers:
  16. Authorization: 'Bearer %env(TMDB_APIKEY_V4)%'
  17. Content-Type: 'application/json;charset=utf-8'
  18. mattermost.client:
  19. base_uri: '%env(resolve:MATTERMOST_URL)%'
  20. headers:
  21. Authorization: 'Bearer %env(MATTERMOST_TOKEN)%'
  22. Content-Type: 'application/json;charset=utf-8'
  23. when@test:
  24. framework:
  25. test: true
  26. session:
  27. storage_factory_id: session.storage.factory.mock_file