update more

This commit is contained in:
Graham McIntire 2024-01-14 17:45:31 -06:00
parent 95f4873971
commit 04e09e03af
2 changed files with 5 additions and 7 deletions

View file

@ -31,7 +31,7 @@ config :aprs, Aprs.Mailer, adapter: Swoosh.Adapters.Local
# Configure esbuild (the version is required)
config :esbuild,
version: "0.14.41",
version: "0.17.11",
default: [
args: ~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets --external:/fonts/* --external:/images/*),
cd: Path.expand("../assets", __DIR__),
@ -40,7 +40,7 @@ config :esbuild,
# Configure tailwind (the version is required)
config :tailwind,
version: "3.1.8",
version: "3.3.2",
default: [
args: ~w(
--config=tailwind.config.js

View file

@ -28,7 +28,7 @@ if config_env() == :prod do
For example: ecto://USER:PASS@HOST/DATABASE
"""
maybe_ipv6 = if System.get_env("ECTO_IPV6"), do: [:inet6], else: []
maybe_ipv6 = if System.get_env("ECTO_IPV6") in ~w(true 1), do: [:inet6], else: []
config :aprs, Aprs.Repo,
# ssl: true,
@ -51,6 +51,8 @@ if config_env() == :prod do
host = System.get_env("PHX_HOST") || "example.com"
port = String.to_integer(System.get_env("PORT") || "4000")
config :aprs, :dns_cluster_query, System.get_env("DNS_CLUSTER_QUERY")
config :aprs, AprsWeb.Endpoint,
url: [host: host, port: 443, scheme: "https"],
http: [
@ -71,10 +73,6 @@ if config_env() == :prod do
aprs_is_login_id: System.get_env("APRS_CALLSIGN"),
aprs_is_password: System.get_env("APRS_PASSCODE")
# app_name =
# System.get_env("FLY_APP_NAME") ||
# raise "FLY_APP_NAME not available"
app_name = "aprs"
config :libcluster,