.env 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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=dev
  17. APP_SECRET=e5d6295bff11cbca1abbb10deeb7d74c
  18. ###< symfony/framework-bundle ###
  19. ###> doctrine/doctrine-bundle ###
  20. # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
  21. # For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8"
  22. # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
  23. DATABASE_URL='mysql://root:Hxb3aMXUPb3m%$Ai*@snc_demo_db:3306/snc_demo?serverVersion=5.7'
  24. ###< doctrine/doctrine-bundle ###
  25. ###> nelmio/cors-bundle ###
  26. CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1|local\.app\.snc-demo\.net)(:[0-9]+)?$'
  27. ###< nelmio/cors-bundle ###
  28. ###> symfony/messenger ###
  29. # Choose one of the transports below
  30. # MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
  31. # MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
  32. MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
  33. ###< symfony/messenger ###
  34. ###> symfony/lock ###
  35. # Choose one of the stores below
  36. LOCK_DSN=flock
  37. ###< symfony/lock ###
  38. ###> symfony/mailer ###
  39. MAILER_DSN=null://null
  40. ###< symfony/mailer ###
  41. ###> symfony/mercure-bundle ###
  42. # See https://symfony.com/doc/current/mercure.html#configuration
  43. # The URL of the Mercure hub, used by the app to publish updates (can be a local URL)
  44. MERCURE_URL=https://example.com/.well-known/mercure
  45. # The public URL of the Mercure hub, used by the browser to connect
  46. MERCURE_PUBLIC_URL=https://example.com/.well-known/mercure
  47. # The secret used to sign the JWTs
  48. MERCURE_JWT_SECRET="!ChangeThisMercureHubJWTSecretKey!"
  49. ###< symfony/mercure-bundle ###