.env 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. ###> doctrine/doctrine-bundle ###
  22. # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
  23. # For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
  24. # For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8"
  25. # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
  26. #DATABASE_URL=mysql://root:mysql660@db:3306/opentalent?serverVersion=5.7
  27. ###< doctrine/doctrine-bundle ###
  28. ###> nelmio/cors-bundle ###
  29. #CORS_ALLOW_ORIGIN=^https?://(localhost|127\.0\.0\.1)(:[0-9]+)|local.admin.opentalent.fr|local.admin2.opentalent.fr?$
  30. ###< nelmio/cors-bundle ###
  31. ###> lexik/jwt-authentication-bundle ###
  32. JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
  33. JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
  34. JWT_PASSPHRASE=opentalent
  35. ###< lexik/jwt-authentication-bundle ###
  36. ###> opentalent config folder ###
  37. OPENTALENT_CONFIG=/config/opentalent
  38. ###< opentalent config folder ###
  39. ###> dolibarr client ###
  40. DOLIBARR_API_BASE_URI='https://prod-erp.2iopenservice.com/api/index.php/'
  41. DOLIBARR_API_TOKEN='Bocc4zC0J186v8J6QCqu7DnoIw4I7mCJ'
  42. ###< dolibarr client ###
  43. ###> mobyt client ###
  44. MOBYT_API_BASE_URI='https://app.mobyt.fr/API/v1.0/REST/'
  45. ###< mobyt client ###
  46. ###> AdminAssos configuration ###
  47. #DATABASE_ADMINASSOS_URL=mysql://root:mysql660@db:3306/adminassos?serverVersion=5.7
  48. ###< AdminAssos configuration ###