Set APRS_HOST and APRS_PASSWORD env vars

Connect to 204.110.191.232 instead of the default dallas.aprs2.net.
runtime.exs now reads APRS_HOST (over APRS_SERVER) and APRS_PASSWORD
(over APRS_PASSCODE) so both naming conventions work.
This commit is contained in:
Graham McIntire 2026-02-18 12:16:53 -06:00
parent 15dd528e05
commit 87dc076220
No known key found for this signature in database
2 changed files with 10 additions and 7 deletions

View file

@ -139,12 +139,12 @@ if config_env() == :prod do
config :aprsme,
ecto_repos: [Aprsme.Repo],
aprs_is_server: System.get_env("APRS_SERVER", "dallas.aprs2.net"),
aprs_is_server: System.get_env("APRS_HOST") || System.get_env("APRS_SERVER", "dallas.aprs2.net"),
# config :aprsme, :dns_cluster_query, System.get_env("DNS_CLUSTER_QUERY")
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"),
aprs_is_password: System.get_env("APRS_PASSWORD") || System.get_env("APRS_PASSCODE"),
env: :prod
# Configure Hammer for production environment

View file

@ -54,8 +54,12 @@ spec:
value: "4000"
- name: APRS_PORT
value: "10152"
- name: APRS_HOST
value: "204.110.191.232"
- name: APRS_CALLSIGN
value: "w5isp-1"
- name: APRS_PASSWORD
value: "15748"
- name: RELEASE_COOKIE
valueFrom:
secretKeyRef:
@ -66,11 +70,6 @@ spec:
secretKeyRef:
name: aprs-secrets
key: SECRET_KEY_BASE
- name: APRS_PASSCODE
valueFrom:
secretKeyRef:
name: aprs-secrets
key: APRS_PASSCODE
envFrom:
- secretRef:
name: aprs-db
@ -141,6 +140,10 @@ spec:
value: "w5isp-1"
- name: APRS_PORT
value: "10152"
- name: APRS_HOST
value: "204.110.191.232"
- name: APRS_PASSWORD
value: "15748"
- name: RELEASE_COOKIE
valueFrom:
secretKeyRef: