parameters.yml.dist 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. parameters:
  2. database_driver: pdo_mysql
  3. database_host: localhost
  4. database_name: packagist
  5. database_user: root
  6. database_password:
  7. database_name_test: packagist_test
  8. mailer_transport:
  9. mailer_host: localhost
  10. mailer_user:
  11. mailer_password:
  12. mailer_from_email: admin@example.org
  13. mailer_from_name: Admin Team
  14. mailer_encryption: tls
  15. mailer_auth_mode: login
  16. # packagist_host: example.org
  17. # router.request_context.host: '%packagist_host%'
  18. # router.request_context.scheme: https
  19. redis_dsn: redis://localhost/1
  20. redis_dsn_test: redis://127.0.0.1/14
  21. redis_session_dsn: redis://localhost/2
  22. locale: en
  23. google_analytics:
  24. ga_key:
  25. # set those to values obtained by creating an application at https://github.com/settings/applications
  26. github.client_id: CHANGE_ME_IN_PROD
  27. github.client_secret: CHANGE_ME_IN_PROD
  28. # set to a random value
  29. github.webhook_secret: CHANGE_ME_IN_PROD
  30. # -- performance features --
  31. # set both to apc to optimize things if it is available
  32. validation_cache_backend: ~
  33. doctrine_cache_backend: array
  34. # -- security features --
  35. secret: CHANGE_ME_IN_PROD
  36. remember_me.secret: CHANGE_ME_IN_PROD
  37. # set to true to enforce ssl, make sure you have a proper certificate in place
  38. force_ssl: false
  39. # e.g. ['^(.+\.)?packagist\.org$'] to allow packagist.org and all subdomains as valid hosts
  40. trusted_hosts: ~
  41. # -- Algolia credentials --
  42. algolia.app_id: CHANGE_ME
  43. algolia.admin_key: CHANGE_ME
  44. algolia.search_key: CHANGE_ME
  45. algolia.index_name: 'packagist'