Latest #config Threads Top

ademenev
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
michallepicki
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
arcanemachine
Preamble: I am aware of other methods of dynamic runtime configuration (e.g. Config.Provider), and am currently a happy user of Dotenvy. ...
New
ohmyohmyohmy
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
Namit
defmodule KayaanPrints.EnvLoader do def load_env(path \\ ".env") do if File.exists?(path) do File.stream!(path) |> S...
New
jsm
Package: module_store | Hex Source: GitHub - juulSme/ModuleStore: Compiled-at-runtime modules as high-read-performance key-value stores ...
New
backin
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
D4no0
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
Lunarmask
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
engineeringdept
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 Top

This Month's Trending Top

This Year's Trending Top

fuelen
Hi all! Confispex is a tool which allows defining specs for runtime configuration, cast values according to specified types and inspect ...
New
arcanemachine
Preamble: I am aware of other methods of dynamic runtime configuration (e.g. Config.Provider), and am currently a happy user of Dotenvy. ...
New
ademenev
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
michallepicki
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 Top

softodrom
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
mattmartian
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
DidactMacros
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
D4no0
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
Koszal
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
jsm
Package: module_store | Hex Source: GitHub - juulSme/ModuleStore: Compiled-at-runtime modules as high-read-performance key-value stores ...
New
Lunarmask
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
lessless
Hi, There are a few writeups describing alternative config arrangements by a topic (or an OTP app): Configuring Phoenix apps: Two sma...
New
engineeringdept
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
Namit
defmodule KayaanPrints.EnvLoader do def load_env(path \\ ".env") do if File.exists?(path) do File.stream!(path) |> S...
New
ohmyohmyohmy
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
backin
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 Top

jononomo
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
vrod
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
vrod
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
EddTally
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
fireproofsocks
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
Fl4m3Ph03n1x
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
fireproofsocks
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
PatrickSachs
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
hansonkd
HI, I would like to know what the best way to validate runtime configuration before the supervisor starts their children. Essentially I ...
New
fireproofsocks
I am bumping into some limits of my own understanding when it comes to application configuration. Specifically, I was wanting to referen...
New
stevensonmt
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
cheerfulstoic
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
Kurisu
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
vans163
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
Fl4m3Ph03n1x
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement