Add configurable APRS_PORT environment variable support

- 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 <noreply@anthropic.com>
This commit is contained in:
Graham McIntire 2025-07-27 12:50:15 -05:00
parent 8ddcb8000f
commit 844c1b0a6c
No known key found for this signature in database

View file

@ -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"),