From 0008233249a49dbe7af6248cca184a3be19c6cb4 Mon Sep 17 00:00:00 2001 From: kx1t <15090643+kx1t@users.noreply.github.com> Date: Thu, 8 Feb 2024 14:36:08 -0500 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 3b8a432..bd6b9a6 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ - [Claiming Your ShipXplorer Receiver](#claiming-your-shipxplorer-receiver) - [Runtime Environment Variables](#runtime-environment-variables) - [Feeding Other Service](#feeding-other-service) + - [Exchanging data with `aiscatcher.org`](#exchanging-data-with-aiscatcherorg) - [Feeding Services Using UDP](#feeding-services-using-udp) - [Feeding Service Using HTTP](#feeding-service-using-http) - [Feeding `aprs.fi`](#feeding-aprsfi) @@ -115,6 +116,7 @@ services: - SXFEEDER_LON=${FEEDER_LONG} - SXFEEDER_LAT=${FEEDER_LAT} - PROMETHEUS_ENABLE=true + - AISCATCHER_SHAREDATA=true ports: - 90:80 devices: @@ -187,9 +189,19 @@ There are a series of available environment variables: | `DISABLE_WEBSITE` | Optional. If enabled, the AIS-Catcher website will not be available. Default empty (disabled) (i.e., the website is available) | | `PLUGIN_UPDATE_INTERVAL` | Optional. Set this to the interval (for example, `30` (secs) or `5m` or `6h` or `3d`) to check the AIS-Catcher github repository for updates to the JavaScript web plugins. Set to `0` or `off` to disable checking. Default value: `6h` | | `REFRESHRATE` | Refresh rate of the vessel data on the web page, in msec. Larger numbers reduce web page traffic, which can become an issue if there are a large number of vessels. Default value: `2500` (msec) | +| `AISCATCHER_SHAREDATA` | Optional but recommended. If enabled, share your NMEA AIS data with aiscatcher.org and receive other ship data in return | ## Feeding Other Service +### Exchanging data with `aiscatcher.org` + +[aiscatcher.org](https://aiscatcher.org) is an exchange of AIS NMEA data. If you share your data with this server, you automatically receive data about other ships in return. We recommend to switch this on for an optimal viewing experience. +You can enable it by simply adding this to the environment section of your `shipxplorer` service section in `docker-compose.yml`: + +```yaml +- AISCATCHER_SHAREDATA=true +``` + ### Feeding Services Using UDP Simply add a comma separated list of hostnames/ip addresses and UDP ports to the `SX_UDP_FEEDS` parameter. For example: