I know there’s docs and some fairly simple step by step deployment instructions, for deploying with LiveView. I have a phoenix app that works locally, with a postgres db. I can get about halfway through fly launch (the DB works, is built etc), but in the end fail due to:
Recent Logs
***v18 failed - Failed due to unhealthy allocations - no stable job version to auto revert to and deploying as v19
I tried to make a new app using the step by step instructions for LiveView, and that failed:
ERROR! Config provider Config.Reader failed with:
For example: ecto://USER:PASS@HOST/DATABASE
(stdlib 4.0.1) erl_eval.erl:744: :erl_eval.do_apply/7
(stdlib 4.0.1) erl_eval.erl:136: :erl_eval.exprs/6
(elixir 1.13.4) src/elixir.erl:296: :elixir.recur_eval/3
(elixir 1.13.4) lib/config.ex:260: Config.__eval__!/3
{"init terminating in do_boot",{#{'__exception__'=>true,'__struct__'=>'Elixir.RuntimeError',message=><<101,110,118,105,114,111,110,109,101,110,116,32,118,97,114,105,97,98,108,101,32,68,65,84,65,66,65,83,69,95,85,82,76,32,105,115,32,109,105,115,115,105,110,103,46,10,70,111,114,32,101,120,97,109,112,108,101,58,32,101,99,116,111,58,47,47,85,83,69,82,58,80,65,83,83,64,72,79,83,84,47,68,65,84,65,66,65,83,69,10>>},[{erl_eval,do_apply,7,[{file,"erl_eval.erl"},{line,744},{error_info,#{module=>'Elixir.Exception'}}]},{erl_eval,expr,6,[{file,"erl_eval.erl"},{line,492}]},{erl_eval,exprs,6,[{file,"erl_eval.erl"},{line,136}]},{elixir,recur_eval,3,[{file,"src/elixir.erl"},{line,296}]},{elixir,eval_forms,3,[{file,"src/elixir.erl"},{line,274}]},{'Elixir.Code',validated_eval_string,3,[{file,"lib/code.ex"},{line,404}]},{'Elixir.Config','__eval__!',3,[{file,"lib/config.ex"},{line,260}]},{'Elixir.Config.Reader','read!',2,[{file,"lib/config/reader.ex"},{line,92}]}]}}
init terminating in do_boot ({,[{erl_eval,do_apply,7,[{_},{_},{_}]},{erl_eval,expr,6,[{_},{_}]},{erl_eval,exprs,6,[{_},{_}]},{elixir,recur_eval,3,[{_},{_}]},{elixir,eval_forms,3,[{_},{_}]},{Elixir.Code,validated_eval_string,3,[{_},{_}]},{Elixir.Config,__eval__!,3,[{_},{_}]},{Elixir.Config.Reader,read!,2,[{_},{_}]}]})
Crash dump is being written to: erl_crash.dump...done
Starting clean up.
Error Release command failed, deployment aborted
The question is simple - is there some repo, or some example, where a very basic case of getting a launch to work with a handful of commands, exists and is tested? I’ve spent a few days trying to deploy, and REALLY want to support Fly.io, but I’ll have to go back to office Monday and basically punt and deploy my app on AWS, which sucks, but the handful of "you need to modify the runtime.exs to support ipv6 and you need to change the TOML fly generated to internal_port whatever, it all seems very idiosyncratic. Would love if someone had a repo I could pull, that ALWAYS is deployable, so I can see what those config files looke like?