Last active
January 20, 2019 17:21
-
-
Save jfornoff/f9b2545c5fd106de6a335d78147a6b6c to your computer and use it in GitHub Desktop.
Naive dynamic config loading
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Mix.Config | |
# This does not always work! | |
config :myapp, service_environment: System.get_env("SERVICE_ENVIRONMENT") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment