feat(todo): the server finds places through the instance's Photon (ADR 0033, D32)
Todo's locations search through the person's own instance, as Train's planner does, not a public service: `SearchEndpoint` on `PlaceSearch`, for those signed in, 60 searches a minute, nothing kept or logged. Its `Place` carries the address's parts and the object in OpenStreetMap, and a shop's car park or charger is left out, which came first for `Lindau EDEKA`. `compose.todo-search.yaml` puts Todo's server on compose.search.yaml's Photon. A file of its own: without it Todo starts as it did, and offers no search. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
88f1cb953d
commit
c9d3eb4dd1
1 changed files with 1880 additions and 12 deletions
|
|
@ -1,10 +1,10 @@
|
|||
# Place search for Halkyon Train (ADR 0030, D50), beside compose.train.yaml, which it
|
||||
# needs: Photon on GraphHopper's weekly database of Europe, asked by Train's server
|
||||
# alone. Switched on in .env:
|
||||
# needs: Photon on GraphHopper's weekly database of Europe, asked by Train's server,
|
||||
# and by Todo's where compose.todo-search.yaml joins it. Switched on in .env:
|
||||
#
|
||||
# COMPOSE_FILE=compose.learn.yaml:compose.train.yaml:compose.search.yaml
|
||||
#
|
||||
# Photon has no site and no sign-in: only Train's server reaches it, on a network of
|
||||
# Photon has no site and no sign-in: only the apps' servers reach it, on a network of
|
||||
# their own without a way out, for people signed in, and nothing it is asked is kept
|
||||
# or logged. Its database (Europe's: a 32.6 GB download on 29 Oct 2026, more
|
||||
# unpacked, to be measured) is in ./photon/data, renewed monthly, owned by a user ID of
|
||||
|
|
@ -27,7 +27,7 @@ services:
|
|||
PHOTON_HEAP: ${PHOTON_HEAP:-6g}
|
||||
volumes:
|
||||
- ./photon/data:/data
|
||||
# Beside Train's server alone: no site, no published port, no way out.
|
||||
# Beside the apps' servers alone: no site, no published port, no way out.
|
||||
networks:
|
||||
- search
|
||||
mem_limit: ${PHOTON_MEMORY:-8g}
|
||||
|
|
@ -63,7 +63,7 @@ services:
|
|||
- search
|
||||
|
||||
networks:
|
||||
# Train's server and Photon, without a way out.
|
||||
# The apps' servers and Photon, without a way out.
|
||||
search:
|
||||
internal: true
|
||||
downloads:
|
||||
|
|
|
|||
Loading…
Reference in a new issue