.env 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. # In all environments, the following files are loaded if they exist,
  2. # the latter taking precedence over the former:
  3. #
  4. # * .env contains default values for the environment variables needed by the app
  5. # * .env.local uncommitted file with local overrides
  6. # * .env.$APP_ENV committed environment-specific defaults
  7. # * .env.$APP_ENV.local uncommitted environment-specific overrides
  8. #
  9. # Real environment variables win over .env files.
  10. #
  11. # DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
  12. #
  13. # Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
  14. # https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
  15. ###> symfony/framework-bundle ###
  16. APP_ENV=prod
  17. APP_SECRET=6a76497c8658bb23e2236f97a2627df3
  18. #TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
  19. #TRUSTED_HOSTS='^(localhost|example\.com)$'
  20. ###< symfony/framework-bundle ###
  21. ###> files management ###
  22. INTERNAL_FILES_DOWNLOAD_URI=https://api.opentalent.fr/_internal/secure/files
  23. ###< files management ###
  24. ###> doctrine/doctrine-bundle ###
  25. # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
  26. # For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
  27. # For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8"
  28. # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
  29. #DATABASE_URL=mysql://root:mysql660@db:3306/opentalent?serverVersion=5.7
  30. ###< doctrine/doctrine-bundle ###
  31. ###> nelmio/cors-bundle ###
  32. #CORS_ALLOW_ORIGIN=^https?://(localhost|127\.0\.0\.1)(:[0-9]+)|local.admin.opentalent.fr|local.app.opentalent.fr?$
  33. ###< nelmio/cors-bundle ###
  34. ###> lexik/jwt-authentication-bundle ###
  35. JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
  36. JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
  37. JWT_PASSPHRASE=opentalent
  38. ###< lexik/jwt-authentication-bundle ###
  39. ###> opentalent config folder ###
  40. OPENTALENT_CONFIG=/config/opentalent
  41. ###< opentalent config folder ###
  42. ###> dolibarr client ###
  43. DOLIBARR_API_BASE_URI=https://prod-erp.2iopenservice.com/api/index.php/
  44. DOLIBARR_API_TOKEN=Bocc4zC0J186v8J6QCqu7DnoIw4I7mCJ
  45. ###< dolibarr client ###
  46. ###> mobyt client ###
  47. MOBYT_API_BASE_URI=https://app.mobyt.fr/API/v1.0/REST/
  48. ###< mobyt client ###
  49. ###> knplabs/knp-snappy-bundle ###
  50. WKHTMLTOPDF_PATH=/usr/local/bin/wkhtmltopdf
  51. WKHTMLTOIMAGE_PATH=/usr/local/bin/wkhtmltoimage
  52. ###< knplabs/knp-snappy-bundle ###
  53. ###> symfony/messenger ###
  54. # Choose one of the transports below
  55. MESSENGER_TRANSPORT_DSN=doctrine://default
  56. # MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
  57. # MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
  58. ###< symfony/messenger ###
  59. ###> AdminAssos configuration ###
  60. #DATABASE_ADMINASSOS_URL=mysql://root:mysql660@db:3306/adminassos?serverVersion=5.7
  61. ###< AdminAssos configuration ###
  62. ###> symfony/lock ###
  63. # Choose one of the stores below
  64. # postgresql+advisory://db_user:db_password@localhost/db_name
  65. LOCK_DSN=semaphore
  66. ###< symfony/lock ###
  67. ###> symfony/mailer ###
  68. MAILER_DSN=smtp://localhost
  69. ###< symfony/mailer ###
  70. ###> elasticsearch ###
  71. ELASTICSEARCH_HOST=localhost
  72. ELASTICSEARCH_PORT=9200
  73. ###< elasticsearch ###
  74. ###> symfony/mercure-bundle ###
  75. # See https://symfony.com/doc/current/mercure.html#configuration
  76. # The URL of the Mercure hub, used by the app to publish updates (can be a local URL)
  77. MERCURE_URL=http://mercure/.well-known/mercure
  78. # The public URL of the Mercure hub, used by the browser to connect
  79. MERCURE_PUBLIC_URL=https://local.mercure.opentalent.fr/.well-known/mercure
  80. # The secret key used to sign the JWTs
  81. MERCURE_PUBLISHER_JWT_KEY=NQEupdREijrfYvCmF2mnvZQFL9zLKDH9RCYter6tUWzjemPqzicffhc2fSf0yEmM
  82. ###< symfony/mercure-bundle ###