We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f47318 commit 6a10b8fCopy full SHA for 6a10b8f
1 file changed
config/runtime.exs
@@ -4,6 +4,12 @@ import Dotenvy
4
alias Elixir.Cluster.Strategy.DNSPoll
5
alias PhoenixContainerExample.Config.Endpoint, as: EndpointConfig
6
7
+source([
8
+ # ".env.default",
9
+ # ".env.#{config_env()}",
10
+ System.get_env()
11
+])
12
+
13
roles = "ROLES" |> System.get_env("app") |> String.split(",") |> Enum.map(&String.to_atom/1)
14
config :phoenix_container_example, roles: roles
15
0 commit comments