Question: how do you do .env / env var injection?

This page summarizes the projects mentioned and recommended in the original post on /r/elixir

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • direnv

    unclutter your .profile

  • I personally use direnv

  • Phoenix

    Peace of mind from prototype to production

  • https://github.com/phoenixframework/phoenix/blob/ea10baae82a9b849b9b4b4c1977dcfc344662863/installer/templates/phx_umbrella/apps/app_name_web/config/runtime.exs#L1-L6

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Vapor

    Runtime configuration system for Elixir (by elixir-toniq)

  • I like to sidestep a lot of the confusion of config/ files for this sort of configuration, and use vapor for runtime configuration instead, which supports loading .env files into the Elixir runtime.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts