update more
This commit is contained in:
parent
95f4873971
commit
04e09e03af
2 changed files with 5 additions and 7 deletions
|
|
@ -31,7 +31,7 @@ config :aprs, Aprs.Mailer, adapter: Swoosh.Adapters.Local
|
||||||
|
|
||||||
# Configure esbuild (the version is required)
|
# Configure esbuild (the version is required)
|
||||||
config :esbuild,
|
config :esbuild,
|
||||||
version: "0.14.41",
|
version: "0.17.11",
|
||||||
default: [
|
default: [
|
||||||
args: ~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets --external:/fonts/* --external:/images/*),
|
args: ~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets --external:/fonts/* --external:/images/*),
|
||||||
cd: Path.expand("../assets", __DIR__),
|
cd: Path.expand("../assets", __DIR__),
|
||||||
|
|
@ -40,7 +40,7 @@ config :esbuild,
|
||||||
|
|
||||||
# Configure tailwind (the version is required)
|
# Configure tailwind (the version is required)
|
||||||
config :tailwind,
|
config :tailwind,
|
||||||
version: "3.1.8",
|
version: "3.3.2",
|
||||||
default: [
|
default: [
|
||||||
args: ~w(
|
args: ~w(
|
||||||
--config=tailwind.config.js
|
--config=tailwind.config.js
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ if config_env() == :prod do
|
||||||
For example: ecto://USER:PASS@HOST/DATABASE
|
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,
|
config :aprs, Aprs.Repo,
|
||||||
# ssl: true,
|
# ssl: true,
|
||||||
|
|
@ -51,6 +51,8 @@ if config_env() == :prod do
|
||||||
host = System.get_env("PHX_HOST") || "example.com"
|
host = System.get_env("PHX_HOST") || "example.com"
|
||||||
port = String.to_integer(System.get_env("PORT") || "4000")
|
port = String.to_integer(System.get_env("PORT") || "4000")
|
||||||
|
|
||||||
|
config :aprs, :dns_cluster_query, System.get_env("DNS_CLUSTER_QUERY")
|
||||||
|
|
||||||
config :aprs, AprsWeb.Endpoint,
|
config :aprs, AprsWeb.Endpoint,
|
||||||
url: [host: host, port: 443, scheme: "https"],
|
url: [host: host, port: 443, scheme: "https"],
|
||||||
http: [
|
http: [
|
||||||
|
|
@ -71,10 +73,6 @@ if config_env() == :prod do
|
||||||
aprs_is_login_id: System.get_env("APRS_CALLSIGN"),
|
aprs_is_login_id: System.get_env("APRS_CALLSIGN"),
|
||||||
aprs_is_password: System.get_env("APRS_PASSCODE")
|
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"
|
app_name = "aprs"
|
||||||
|
|
||||||
config :libcluster,
|
config :libcluster,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue