Edelivery use per host configuration

Hello

I am trying to deploy phoenix app with edelivery with host specific configuration. I have added vm.args on staging site but am kind of confused. What should I do with prod.secret.ex? Is it now required while building release. I tried removing its import from staging.ex and production.ex but it kind of blew with following error.

== Compilation error in file lib/firefly/repo.ex ==
** (ArgumentError) missing :adapter configuration in config :firefly, Firefly.Repo
lib/ecto/repo/supervisor.ex:70: Ecto.Repo.Supervisor.compile_config/2
lib/firefly/repo.ex:2: (module)
(stdlib) erl_eval.erl:677: :erl_eval.do_apply/6

I know its telling me that adapter configuration is missing but I am not sure why because I have specified plugin Releases.Plugin.LinkConfig in re/config.exs and it is suppose to take those adapter config from deployed host.

It looks like you are missing the :adapter option. It is required in compile time.
As you are using Releases.Plugin.LinkConfig, you may want to link sys.config or vm.args for releases on different hosts. They are runtime configs, they are not available when you compile the project.