Environment variables are always strings. If you wish to cast them to a different type, you need to do that manually.
Be careful about getting environment variables in your config.exs files, as they are evaluated during build time and will reflect the build environment. When you move to production, you probably want to be able to get the values at startup / runtime instead. I just wrote a blog post about the different places of configuration.


















