I'm attempting to deploy the Plausible template in railway. I have left all the variables at their default in the template. As the read me says, the Plausible module spins up first before the clickhouse. I then try to edit and save the CLICKHOUSE_DATABASE_URL to force a rebuild. I'm left with the same repeating error until the module crashes.
Below you will find the block of log/errors that continue to repeat until I get the crash notice.
create Plausible.Repo database if it doesn't exist
17:35:39.448 [error] Ch.Connection (#PID<0.170.0>) failed to connect: ** (Mint.TransportError) non-existing domain
17:35:39.448 [error] Ch.Connection (#PID<0.171.0>) failed to connect: ** (Mint.TransportError) non-existing domain
create Plausible.IngestRepo database if it doesn't exist
** (MatchError) no match of right hand side value: {:error, %Mint.TransportError{reason: :nxdomain}}
(plausible 0.0.1) lib/plausible_release.ex:40: anonymous fn/2 in Plausible.Release.createdb/0
(elixir 1.14.3) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3
(plausible 0.0.1) lib/plausible_release.ex:39: Plausible.Release.createdb/0
nofile:1: (file)
(stdlib 4.2) erl_eval.erl:748: :erl_eval.do_apply/7
Loading plausible..
Starting dependencies..
Starting repos..
create Plausible.Repo database if it doesn't exist
17:35:46.385 [error] Ch.Connection (#PID<0.171.0>) failed to connect: ** (Mint.TransportError) non-existing domain
17:35:46.385 [error] Ch.Connection (#PID<0.172.0>) failed to connect: ** (Mint.TransportError) non-existing domain
create Plausible.IngestRepo database if it doesn't exist
** (MatchError) no match of right hand side value: {:error, %Mint.TransportError{reason: :nxdomain}}
(plausible 0.0.1) lib/plausible_release.ex:40: anonymous fn/2 in Plausible.Release.createdb/0
(elixir 1.14.3) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3
(plausible 0.0.1) lib/plausible_release.ex:39: Plausible.Release.createdb/0
nofile:1: (file)
(stdlib 4.2) erl_eval.erl:748: :erl_eval.do_apply/7