mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-08-05 18:11:41 +00:00
246 lines
8.3 KiB
YAML
246 lines
8.3 KiB
YAML
# Config file example.
|
|
# Rename this to "config.yml" before running the software.
|
|
|
|
# Your callsign. Used to log into DX clusters and included in User-Agent when querying HTTP servers. Useful so if your
|
|
# server goes crazy and causes other people problems, they know who to contact :) If you don't have one, you can leave
|
|
# 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"
|
|
|
|
# Spot providers to use. This is an example set, tailor it to your liking by commenting and uncommenting.
|
|
# RBN and APRS-IS are supported but have such a high data rate, you probably don't want them enabled.
|
|
# Each provider needs a class and an enabled/disabled state. Some require more config such as hostnames/IP
|
|
# addresses and ports. You can duplicate them if you like, e.g. to support several DX clusters. RBN uses two ports, 7000
|
|
# for CW/RTTY and 7001 for FT8, so if you want both, you need two entries, as shown below.
|
|
# Feel free to write your own provider classes! There are details in the README.
|
|
spot-providers:
|
|
- class: "POTA"
|
|
enabled: true
|
|
|
|
- class: "SOTA"
|
|
enabled: true
|
|
|
|
- class: "WWFF"
|
|
enabled: true
|
|
|
|
- class: "WWBOTA"
|
|
enabled: true
|
|
|
|
- class: "GMA"
|
|
enabled: true
|
|
# GMA requires an API key to fetch spots. After creating an account on cqgma.org, email support and request one.
|
|
api-key: ""
|
|
|
|
- class: "HEMA"
|
|
enabled: true
|
|
|
|
- class: "ParksNPeaks"
|
|
enabled: true
|
|
|
|
- class: "ZLOTA"
|
|
enabled: true
|
|
|
|
- class: "WOTA"
|
|
enabled: true
|
|
|
|
- class: "LLOTA"
|
|
enabled: true
|
|
|
|
- class: "Towers"
|
|
enabled: true
|
|
|
|
- class: "Tiles"
|
|
enabled: true
|
|
|
|
- class: "APRSIS"
|
|
enabled: false
|
|
|
|
- class: "DXCluster"
|
|
# Clusters have a "name" property in case you want to say which cluster node the data is from, or connect to
|
|
# several clusters and name them separately.
|
|
name: "HRD Cluster"
|
|
enabled: true
|
|
host: "hrd.wa9pie.net"
|
|
port: 8000
|
|
# Prompt the cluster node gives when asking for a callsign to log in. Varies between cluster node software.
|
|
login_prompt: "login:"
|
|
# Callsign Spothole will use to log into this cluster. Ensure the SSID (e.g. -99) is different to any personal
|
|
# connection you might make to this cluster node.
|
|
login_callsign: "N0CALL-99"
|
|
# Whether to allow RBN spots that come via this cluster. If you don't want RBN spots or you are making a separate
|
|
# connection to RBN directly, leave this as False. If you want RBN spots from this cluster, set this to True. (Make
|
|
# sure you aren't also separately connecting to RBN directly, otherwise you may get duplicate spots.) Note that not
|
|
# all clusters sent RBN spots anyway.
|
|
allow_rbn_spots: false
|
|
|
|
- class: "DXCluster"
|
|
name: "W3LPL Cluster"
|
|
enabled: false
|
|
host: "w3lpl.net"
|
|
port: 7373
|
|
login_prompt: "Please enter your call:"
|
|
login_callsign: "N0CALL-99"
|
|
allow_rbn_spots: false
|
|
|
|
- class: "RBN"
|
|
- # RBN sources have a "name" property in case you want to differentiate between the CW/RTTY and FT8 sources.
|
|
name: "RBN CW/RTTY"
|
|
enabled: false
|
|
port: 7000
|
|
# This setting doesn't affect the spot provider itself, or anything in the back-end of Spothole, just the web UI.
|
|
# By default spots from all enabled providers will be shown in the web UI. However, you might want RBN data to be
|
|
# received by Spothole but not shown on the web UI unless the user explicitly turns it on. For that behaviour,
|
|
# set enabled to true, but enabled-by-default-in-web-ui to false.
|
|
enabled-by-default-in-web-ui: false
|
|
|
|
- class: "RBN"
|
|
name: "RBN FT8"
|
|
enabled: false
|
|
port: 7001
|
|
enabled-by-default-in-web-ui: false
|
|
|
|
- class: "UKPacketNet"
|
|
enabled: false
|
|
enabled-by-default-in-web-ui: false
|
|
|
|
- class: "XOTA"
|
|
# xOTA sources have a "name" property so you can define what programme it is for, since xOTA is generic software
|
|
# for running "something-on-the-air" programmes.
|
|
name: "C3 TOTA"
|
|
enabled: false
|
|
url: "wss://39c3.totawatch.de/api/spot/live"
|
|
# For the "XOTA" provider, a SIG must be set menually here because xOTA is a generic backend for xOTA
|
|
# programmes and so different URLs potentially provide different programmes.
|
|
sig: "TOTA"
|
|
# For Toilets on the Air, we prefix the SIG references (T-01 etc) with some characters that define the conference:
|
|
# C3, EH or HOPE - so we can look up the correct locations in our database, because each conference starts from T-01
|
|
# but refers to a toilet in a different building (or continent!)
|
|
sig-ref-prefix: "C3"
|
|
|
|
- class: "XOTA"
|
|
name: "EH23 TOTA"
|
|
enabled: false
|
|
url: "wss://eh23.totawatch.de/api/spot/live"
|
|
sig: "TOTA"
|
|
sig-ref-prefix: "EH"
|
|
|
|
- class: "XOTA"
|
|
name: "HOPE26 TOTA"
|
|
enabled: false
|
|
url: "wss://hope-26.totawatch.de/api/spot/live"
|
|
sig: "TOTA"
|
|
sig-ref-prefix: "HOPE"
|
|
|
|
|
|
# Alert providers to use. Same setup as the spot providers list above.
|
|
alert-providers:
|
|
- class: "POTA"
|
|
enabled: true
|
|
|
|
- class: "SOTA"
|
|
enabled: true
|
|
|
|
- class: "WWFF"
|
|
enabled: true
|
|
|
|
- class: "ParksNPeaks"
|
|
enabled: true
|
|
|
|
- class: "WOTA"
|
|
enabled: true
|
|
|
|
- class: "BOTA"
|
|
enabled: true
|
|
|
|
- class: "NG3K"
|
|
enabled: true
|
|
|
|
|
|
# SIG reference data providers to use. This allows Spothole to download, for example, the WWFF directory that maps WWFF
|
|
# park IDs to their name and location.
|
|
sig-ref-data-providers:
|
|
- class: "WWFF"
|
|
enabled: true
|
|
|
|
- class: "WOTA"
|
|
enabled: true
|
|
|
|
- class: "SIOTA"
|
|
enabled: true
|
|
|
|
- class: "ZLOTA"
|
|
enabled: true
|
|
|
|
- class: "LLOTA"
|
|
enabled: true
|
|
|
|
- class: "DME"
|
|
enabled: true
|
|
|
|
- class: "TOTA"
|
|
enabled: true
|
|
|
|
# Solar condition providers to use. These poll external APIs for solar propagation data (SFI, A/K indices, band
|
|
# conditions, etc.) and make it available via the /api/v1/solar endpoint.
|
|
solar-condition-providers:
|
|
- class: "HamQSL"
|
|
enabled: true
|
|
|
|
- class: "NOAA3dayForecast"
|
|
enabled: true
|
|
|
|
- class: "GIROIonosonde"
|
|
enabled: true
|
|
|
|
- class: "KC2GProp"
|
|
enabled: true
|
|
|
|
# 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
|
|
max-alert-age-sec: 604800
|
|
|
|
# API key for Clublog to look up information. Optional. You sill need to request one via their helpdesk portal if you
|
|
# want to use callsign lookups from Clublog.
|
|
clublog-api-key: ""
|
|
|
|
# Allow submitting spots to the Spothole API?
|
|
allow-spotting: true
|
|
|
|
# Log web requests? Useful to see what your users are requesting in terms of pages and API endpoints, but will fill up
|
|
# your log quickly on a popular server.
|
|
log-web-requests: false
|
|
|
|
# Minimum severity of log statements to print to the system log. Defaults to INFO, change to DEBUG if you need more
|
|
# information.
|
|
log-level: INFO
|
|
|
|
# Options for the web UI.
|
|
web-ui-options:
|
|
spot-count: [ 10, 25, 50, 100 ]
|
|
spot-count-default: 50
|
|
max-spot-age: [ 5, 10, 30, 60 ]
|
|
max-spot-age-default: 30
|
|
alert-count: [ 25, 50, 100, 200, 500 ]
|
|
alert-count-default: 100
|
|
# Default UI colour scheme. Supported values are "light", "dark" and "auto" (i.e. use the browser/OS colour scheme).
|
|
# Users can still override this in the UI to their own preference.
|
|
color-scheme-default: "auto"
|
|
# Default band colour scheme. Supported values are the full names of any band colour scheme shown in the UI.
|
|
# Users can still override this in the UI to their own preference.
|
|
band-color-scheme-default: "PSK Reporter (Adjusted)"
|
|
# Custom HTML insert. This can be any arbitrary HTML. It will be inserted next to the start/stop buttons on the spots
|
|
# (home) page, although being arbitrary HTML you can also use a div with absolute, relative, float placement etc. This
|
|
# is designed for a "donate/support the server" type button, though you are free to do whatever you want with it.
|
|
# As the server owner you are responsible for the safe usage of this option!
|
|
support-button-html: "" |