Latest #config Threads 
I have an application, lets call it A, that is in its own repo and has some configuration, and can run on its own. I want to create anot...
New
I know that import_config/1 cannot be used in runtime.exs (docs), I am guessing that’s because of how runtime.exs has special handling fo...
New
Preamble: I am aware of other methods of dynamic runtime configuration (e.g. Config.Provider), and am currently a happy user of Dotenvy. ...
New
On the website (GitHub - elixir-sqlite/ecto_sqlite3: An Ecto SQLite3 adapter.), it states that I have to set the database path in the con...
New
defmodule KayaanPrints.EnvLoader do
def load_env(path \\ ".env") do
if File.exists?(path) do
File.stream!(path)
|> S...
New
Package: module_store | Hex
Source: GitHub - juulSme/ModuleStore: Compiled-at-runtime modules as high-read-performance key-value stores ...
New
This way it works for me but the problem is that I expose the keys explicitly and the keys must be in my .env file
aws_access_key_iam_us...
New
I think it was discussed before not only a single time, however I was unable to find any relevant information using search on elixirforum...
New
Hey everyone,
I’m wanting to apply a query fragment within the Phoenix application’s config.exs in order to properly pass a default valu...
New
I’m working on an app that will be deployed into multiple locations. To work on it locally I’m running multiple copies side by side, usin...
New
This Week's Trending
This Month's Trending
This Year's Trending
Hi all!
Confispex is a tool which allows defining specs for runtime configuration, cast values according to specified types and inspect ...
New
Preamble: I am aware of other methods of dynamic runtime configuration (e.g. Config.Provider), and am currently a happy user of Dotenvy. ...
New
I have an application, lets call it A, that is in its own repo and has some configuration, and can run on its own. I want to create anot...
New
I know that import_config/1 cannot be used in runtime.exs (docs), I am guessing that’s because of how runtime.exs has special handling fo...
New
Last Three Year's Trending
Hi,
I have some compile env and I want to change their values in some specific test cases and then change them back.
Is there any way o...
New
Hi there! I’m having an issue when running MIX_ENV=test mix test. To my knowledge it should use the test.exs file which I have hardcoded ...
New
I’ve looked in Programming Elixir, and Elixir in Action as well as on this forum (even looking at proposals), in manuals and via search e...
New
I think it was discussed before not only a single time, however I was unable to find any relevant information using search on elixirforum...
New
The bash script below generates and umbrela project (mix new --umbrella logcfg) and then an app (mix new demo). It then creates a task an...
New
Package: module_store | Hex
Source: GitHub - juulSme/ModuleStore: Compiled-at-runtime modules as high-read-performance key-value stores ...
New
Hey everyone,
I’m wanting to apply a query fragment within the Phoenix application’s config.exs in order to properly pass a default valu...
New
Hi,
There are a few writeups describing alternative config arrangements by a topic (or an OTP app):
Configuring Phoenix apps: Two sma...
New
I’m working on an app that will be deployed into multiple locations. To work on it locally I’m running multiple copies side by side, usin...
New
defmodule KayaanPrints.EnvLoader do
def load_env(path \\ ".env") do
if File.exists?(path) do
File.stream!(path)
|> S...
New
On the website (GitHub - elixir-sqlite/ecto_sqlite3: An Ecto SQLite3 adapter.), it states that I have to set the database path in the con...
New
This way it works for me but the problem is that I expose the keys explicitly and the keys must be in my .env file
aws_access_key_iam_us...
New
Trending Over Three Years
So I’m trying to understand how config/runtime.exs works. If I put:
IO.inspect("in runtime.exs")
at the top of the file, then when I s...
New
Forgive me for maybe a noob question. I am reading much about configuration – maybe this in Elixir is one of the most confusing things? ...
New
I have put some module attributes in my tests for easier reference, like this
@example Application.fetch_env!(:my_app, :thing)
but I no...
New
I have two seperate js & css files relating to two external HTML projects and I want them to be bundled into two different folders wi...
New
I thought I had a handle on how Elixir configuration worked, but now I’m thinking I missed something. My memory was that the config.exs ...
New
Background
I am toying with PhoenixLiveView a little and I have my demo app ready to go. When I test it in DEV, it all works wonders. But...
New
I was trying to add some code to one of my config files in order to convert the value from a string (as it would be read from an ENV vari...
New
Hello there,
I have the following scenario:
I have a library my_lib that is used in my_app. my_lib has a configuration file option that...
New
HI,
I would like to know what the best way to validate runtime configuration before the supervisor starts their children. Essentially I ...
New
I am bumping into some limits of my own understanding when it comes to application configuration. Specifically, I was wanting to referen...
New
I’m starting to work on my first real app and can’t quite understand the runtime configuration story. I would like to use a TOML file to ...
New
I spent quite a bit of time trying to find a good configuration to build / test my Elixir app in CircleCI and then push an image to Docke...
New
Currently here is the way I’m attempting to add the static path to some uploads path in MyApp.Endpoint:
# Uploads path
plug Plug.Stati...
New
Does anyone know how to force certain-files/project to recompile if compiletime envvars changed?
Example I have a config.exs like so
re...
New
Background
I have a Phoenix LiveView app that works well with MIX_ENV=dev. However, when I run it with MIX_ENV=prod, it really looks to m...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







