framework.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # see https://symfony.com/doc/current/reference/configuration/framework.html
  2. framework:
  3. secret: '%env(APP_SECRET)%'
  4. #csrf_protection: true
  5. #http_method_override: true
  6. # Enables session support. Note that the session will ONLY be started if you read or write from it.
  7. # Remove or comment this section to explicitly disable session support.
  8. session:
  9. handler_id: null
  10. cookie_secure: auto
  11. cookie_samesite: lax
  12. #esi: true
  13. #fragments: true
  14. php_errors:
  15. log: true
  16. http_client:
  17. scoped_clients:
  18. siret_checking:
  19. base_uri: 'https://entreprise.data.gouv.fr/api/sirene/v3/etablissements/'
  20. openstreetmap:
  21. base_uri: 'https://nominatim.openstreetmap.org/'
  22. dolibarr_client:
  23. base_uri: '%env(DOLIBARR_API_BASE_URI)%'
  24. headers:
  25. DOLAPIKEY: '%env(DOLIBARR_API_TOKEN)%'
  26. Accept: 'application/json'
  27. typo3_client:
  28. base_uri: '%env(TYPO3_BASE_URI)%'
  29. headers:
  30. Content-Type: 'application/json'
  31. Accept: 'application/json'
  32. mobyt_client:
  33. base_uri: '%env(MOBYT_API_BASE_URI)%'
  34. headers:
  35. Content-Type: 'application/json'
  36. apiLegacyClient:
  37. base_uri: '%env(API_LEG_BASE_URL)%'