.env 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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.0.32&charset=utf8mb4"
  25. # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
  26. DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
  27. ###< doctrine/doctrine-bundle ###
  28. ###> Mattermost/Service ###
  29. MATTERMOST_URL=https://adresse_du_serveur_mattermost
  30. MATTERMOST_TOKEN=Token_du_bot_mattermost
  31. MATTERMOST_CHANNEL_ID=Id_du_channel_dans_lequel_poster
  32. MATTERMOST_CHANNEL_ID_ADMIN=Id_du_channel_dans_lequel_poster_les_notifs_admin # (Nouvel enregistrement utilisateur)
  33. ###< Mattermost/Service ###
  34. ###> symfony/mailer ###
  35. MAILER_DSN=smtp://email@mail.fr:password@serveur.mail:25?encryption=tls&auth=plain
  36. MAILER_FROM=admin@mail.fr
  37. MAILER_REPLY=admin@mail.fr
  38. MAILER_NAME="Admin vidéothèque"
  39. ###< symfony/mailer ###
  40. ###> APITMDB ###
  41. TMDB_APIKEY_V3=
  42. TMDB_APIKEY_V4=
  43. TMDB_URL=
  44. ###< APITMDB ###