Add an API-only mode that hides the server's web UI. Closes #111

This commit is contained in:
Ian Renton
2026-06-09 10:38:16 +01:00
parent cd40cd985d
commit cd30fc765b
17 changed files with 108 additions and 62 deletions

View File

@@ -6,6 +6,14 @@
# this as "N0CALL" and it shouldn't do any harm, as we're not sending anything to the various networks, only receiving.
server-owner-callsign: "N0CALL"
# Port to open the local web server on
web-server-port: 8080
# Run in API-only mode? When enabled, the web UI is not served, only the API endpoints and the OpenAPI documentation
# page. If you are running your own Spothole instance purely to serve client software, and not wanting visitors to
# discover a full web-based cluster UI, enable this flag.
api-only-mode: false
# The base URL at which the software runs.
base-url: "http://localhost:8080"
@@ -192,9 +200,6 @@ solar-condition-providers:
name: "KC2G Propagation Data"
enabled: true
# Port to open the local web server on
web-server-port: 8080
# Maximum time to keep spots and alerts in the system before deleting them. By default, one hour for spots and one week
# for alerts.
max-spot-age-sec: 3600