.env 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # In all environments, the following files are loaded if they exist,
  2. # the later 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/configuration.html#infrastructure-related-configuration
  15. ###> symfony/framework-bundle ###
  16. APP_ENV=dev
  17. APP_SECRET=18a6fd80ab9362b2e4df54d6029416da
  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. # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
  22. #
  23. # DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
  24. # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4"
  25. DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
  26. ###< doctrine/doctrine-bundle ###
  27. ###> Mattermost/Service ###
  28. MATTERMOST_URL=https://adresse_du_serveur_mattermost
  29. MATTERMOST_TOKEN=Token_du_bot_mattermost
  30. MATTERMOST_CHANNEL_ID=Id_du_channel_dans_lequel_poster
  31. MATTERMOST_CHANNEL_ID_ADMIN=Id_du_channel_dans_lequel_poster_les_notifs_admin # (Nouvel enregistrement utilisateur)
  32. ###< Mattermost/Service ###
  33. ###> symfony/mailer ###
  34. MAILER_DSN=smtp://email@mail.fr:password@serveur.mail:25?encryption=tls&auth=plain
  35. MAILER_FROM=admin@mail.fr
  36. MAILER_REPLY=admin@mail.fr
  37. MAILER_NAME="Admin vidéothèque"
  38. ###< symfony/mailer ###
  39. ###> APITMDB ###
  40. TMDB_APIKEY_V3=
  41. TMDB_APIKEY_V4=
  42. TMDB_URL=
  43. ###< APITMDB ###