Drop gpsd support and the GNSS simulator service: the car's GNSS comes over CAN later; /api/gnss/position and the GNSS control stay, fed through GNSS_LATEST
This commit is contained in:
1 parent
09a9d8baba
commit
49900c1703
10 files changed
+22
-133
No files matched your search
+1
-18
@@ -91,28 +91,11 @@ services:
|
||||
# files inherit the directory's label.
|
||||
- /srv/backup/gdrive/my-drive/current/Takeout:/app/takeout:ro,z
|
||||
|
||||
# Fakes a GNSS fix (a loop around Bratislava, see
|
||||
# bin/gnss_simulator.rb/docs/development.adoc) since there's no real
|
||||
# receiver attached here — the "GNSS" control would otherwise just show
|
||||
# "no fix" always. Remove this service (and nothing else) whenever a real
|
||||
# receiver/gpsd setup replaces it. network_mode ties it to maptool's own
|
||||
# network namespace rather than a bridge network, since GpsdClient
|
||||
# connects to a hardcoded 127.0.0.1:2947 — same as gpsd itself normally
|
||||
# being local to the machine it serves.
|
||||
gnss-simulator:
|
||||
image: maptool:latest
|
||||
depends_on:
|
||||
- maptool
|
||||
restart: unless-stopped
|
||||
network_mode: "service:maptool"
|
||||
command: ["ruby", "bin/gnss_simulator.rb"]
|
||||
|
||||
# Serves an offline Wikipedia ZIM for the popup's "Nearby on Wikipedia"
|
||||
# link (see docs/development.adoc for where to get one and drop it in —
|
||||
# same "not part of the repo, place it under ./data locally" story as
|
||||
# offline.pmtiles/terrain.pmtiles). On the default compose network (not
|
||||
# network_mode: "service:maptool" — unlike gnss-simulator this doesn't
|
||||
# need a hardcoded localhost port, KIWIX_URL above reaches it by this
|
||||
# network_mode: "service:maptool" — KIWIX_URL above reaches it by this
|
||||
# service's own name), so maptool and kiwix stay independent containers.
|
||||
# Keeps restarting (harmlessly) if data/kiwix/wikipedia.zim isn't there
|
||||
# yet — GET /api/kiwix just reports unavailable until it comes up.
|
||||
|
||||
Reference in new issue
Block a user