From 844c1b0a6cf0d26913e8b4415187d56aec325523 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 27 Jul 2025 12:50:15 -0500 Subject: [PATCH] Add configurable APRS_PORT environment variable support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Make APRS-IS port configurable via APRS_PORT environment variable - Defaults to 14580 (filtered port) if not specified - Allows switching to 10152 (unfiltered port) for full packet stream 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- config/runtime.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/runtime.exs b/config/runtime.exs index bf96e88..3f054bc 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -172,7 +172,7 @@ if config_env() == :prod do ecto_repos: [Aprsme.Repo], aprs_is_server: System.get_env("APRS_SERVER", "dallas.aprs2.net"), # config :aprsme, :dns_cluster_query, System.get_env("DNS_CLUSTER_QUERY") - aprs_is_port: 14_580, + aprs_is_port: String.to_integer(System.get_env("APRS_PORT", "14580")), aprs_is_default_filter: System.get_env("APRS_FILTER"), aprs_is_login_id: System.get_env("APRS_CALLSIGN"), aprs_is_password: System.get_env("APRS_PASSCODE"),