prod.secret.exs 861 B

12345678910111213141516171819202122232425
  1. # In this file, we load production configuration and secrets
  2. # from environment variables. You can also hardcode secrets,
  3. # although such is generally not recommended and you have to
  4. # remember to add this file to your .gitignore.
  5. use Mix.Config
  6. secret_key_base =
  7. System.get_env("SECRET_KEY_BASE") ||
  8. raise """
  9. environment variable SECRET_KEY_BASE is missing.
  10. You can generate one by calling: mix phx.gen.secret
  11. """
  12. config :vaccins, VaccinsWeb.Endpoint, secret_key_base: secret_key_base
  13. # ## Using releases (Elixir v1.9+)
  14. #
  15. # If you are doing OTP releases, you need to instruct Phoenix
  16. # to start each relevant endpoint:
  17. #
  18. # config :vaccins, VaccinsWeb.Endpoint, server: true
  19. #
  20. # Then you can assemble a release by calling `mix release`.
  21. # See `mix help release` for more information.
  22. config :vaccins, VaccinsWeb.Endpoint, server: true