-
Notifications
You must be signed in to change notification settings - Fork 0
/
odss2dash.toml
33 lines (26 loc) · 997 Bytes
/
odss2dash.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
## This file defines the configuration for odss2dash.
## To get platform and position information:
odssApi = "https://odss.mbari.org/odss"
## Server port to listen for requests:
port = 3033
## External URL of the odss2dash service
externalUrl = "http://localhost:3033"
#externalUrl = "https://okeanids.mbari.org/odss2dash"
## Interval to perform the dispatch:
pollPeriod = "30 seconds"
## Default limit for positions request against ODSS API:
defaultLastNumberOfFixes = 5
## Target TethysDash instances:
## For each:
## `name`: A simple, alphanumeric string
## `api`: The TehysDash API endpoint
## `apiKey`: Use `$EV` syntax to indicate environment variable with the key.
## A local `.env` file can be used to capture such variables.
[[tethysdashes]]
name = "okeanids"
api = "https://okeanids.mbari.org/TethysDash/api"
apiKey = "$OKEANIDS_APIKEY"
[[tethysdashes]]
name = "tethystest"
api = "http://tethystest.shore.mbari.org:8080/TethysDash/api"
apiKey = "$TETHYSTEST_APIKEY"