framework.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. storage_factory_id: session.storage.factory.native
  10. handler_id: null
  11. cookie_secure: auto
  12. cookie_samesite: lax
  13. #esi: true
  14. #fragments: true
  15. php_errors:
  16. log: true
  17. http_client:
  18. scoped_clients:
  19. siret_checking:
  20. base_uri: 'https://entreprise.data.gouv.fr/api/sirene/v3/etablissements/'
  21. openstreetmap:
  22. base_uri: 'https://nominatim.openstreetmap.org/'
  23. dolibarr_client:
  24. base_uri: '%env(DOLIBARR_API_BASE_URI)%'
  25. headers:
  26. DOLAPIKEY: '%env(DOLIBARR_API_TOKEN)%'
  27. Accept: 'application/json'
  28. typo3_client:
  29. base_uri: '%env(TYPO3_BASE_URI)%'
  30. headers:
  31. Content-Type: 'application/json'
  32. Accept: 'application/json'
  33. mobyt_client:
  34. base_uri: '%env(MOBYT_API_BASE_URI)%'
  35. headers:
  36. Content-Type: 'application/json'
  37. apiLegacyClient:
  38. base_uri: '%env(API_LEG_BASE_URL)%'