Add provider Traviorel Unraid templates and verified Bahn MCP migration
This commit is contained in:
1 parent
03cb98423b
commit
a30d946f0e
9 files changed
+447
No files matched your search
@@ -138,3 +138,17 @@ Zustimmung sind die fünf Funktionen global aktiviert und Same-Origin für
|
||||
den Visualizer im Benutzerprofil freigegeben. Browserprüfung noch offen.
|
||||
Quellen, Versionen, Backup und Einschränkungen:
|
||||
[integrations/openwebui-community-plugins](../integrations/openwebui-community-plugins/README.md).
|
||||
|
||||
### Unraid: vollständige Bahn-Verbindungssuche (7. Oktober 2026)
|
||||
|
||||
Der bisherige `DB-Timetable-MCP` wurde durch Traviorel 0.3.2 ersetzt.
|
||||
`traviorel-app` und `traviorel-db-api` verwenden die veröffentlichten Anbieter-Images;
|
||||
Weboberfläche und Streamable-HTTP-MCP liegen unter `http://192.168.1.2:8222` bzw. `/mcp`.
|
||||
OpenWebUIs Verbindungs-ID `db-timetable` bleibt erhalten. Die neue Suche liefert
|
||||
zusammengehörige Abfahrts-/Ankunftszeiten und Fahrtdauer. Zeittoleranz ist explizit null.
|
||||
Beide Container besitzen Unraid-XML-Vorlagen und persistente Daten unter
|
||||
`/mnt/user/appdata/traviorel/`. Die bisherigen DB-API-Zugänge sind privat gesichert;
|
||||
Traviorel benötigt diese für seine Verbindungssuche nicht. Der alte Container bleibt
|
||||
mit deaktiviertem Neustart/Autostart gestoppt als Rückfall erhalten.
|
||||
Installation, Sicherung, Wiederherstellung, Quellen und Einschränkungen:
|
||||
[Unraid-Traviorel](../integrations/unraid-traviorel/README.md).
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 Traviorel contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,85 @@
|
||||
# Traviorel on Unraid
|
||||
|
||||
Optional external MCP service; it is not a dependency of native Athena Deck.
|
||||
Provider: https://github.com/lesecuritae/FareWeave (documentation/image labels use the new name Traviorel).
|
||||
Version 0.3.2; source revision and actually pulled image digests are recorded in `upstream.json`.
|
||||
`compose.yml` is an unchanged upstream snapshot at that revision; `environment.json` records the deployment settings without secrets.
|
||||
|
||||
## Installation
|
||||
|
||||
Two provider-published images are required:
|
||||
- `ghcr.io/lesecuritae/traviorel-app:latest`
|
||||
- `ghcr.io/lesecuritae/traviorel-db-api:latest`
|
||||
|
||||
Copy both `my-*.xml` files into `/boot/config/plugins/dockerMan/templates-user/`.
|
||||
Run `initialize.sh` on the Unraid host once before creating the containers.
|
||||
It creates the network and persistent internal token with the provider's own initialization program.
|
||||
Then create `traviorel-db-api` and `traviorel-app` from the templates using Unraid's Add Container interface.
|
||||
The backend has no published host port; the application exposes container port 8000 at host port 8222.
|
||||
The provider's shared Docker network, read-only token mount, non-root users and security settings are retained.
|
||||
No application source or OpenWebUI frontend is patched.
|
||||
|
||||
Addresses:
|
||||
- Web interface: http://192.168.1.2:8222
|
||||
- MCP: http://192.168.1.2:8222/mcp (Streamable HTTP)
|
||||
- Health: http://192.168.1.2:8222/api/health
|
||||
|
||||
OpenWebUI's existing connection ID `db-timetable` remains stable. The URL is unchanged.
|
||||
The new tool names are `search_ground`, `find_station`, `live_delays`, etc.; old tool-name references in task text must be checked separately.
|
||||
|
||||
## Deliberate configuration adjustment
|
||||
|
||||
`SEARCH_DEPARTURE_TOLERANCE_MINUTES=0` makes "after 07:21" exclude departures before 07:21.
|
||||
The provider default is 15 minutes. Changing this setting does not invalidate existing cached journeys;
|
||||
clear only known test entries on a fresh installation or wait for expiry before testing the changed setting.
|
||||
|
||||
## Credentials and rollback
|
||||
|
||||
Traviorel's journey search does not consume the old DB Timetables client ID/API key.
|
||||
There is no corresponding supported configuration field in this provider version. Do not invent one.
|
||||
The previous credentials were preserved privately on Unraid under
|
||||
`/mnt/user/appdata/traviorel/legacy-backup/bahn-api-credentials.json` (mode 0600, parent 0700).
|
||||
The same directory retains the old container inspection and Unraid XML; these also contain secrets.
|
||||
None of those files belongs in Git, chat output or an unencrypted public backup.
|
||||
|
||||
The old `DB-Timetable-MCP` container is stopped, has restart disabled, and was removed from Unraid autostart.
|
||||
It is retained for rollback rather than deleted. To roll back, stop `traviorel-app`, start the old container,
|
||||
restore its previous restart/autostart settings from the private backup, and restore the OpenWebUI settings backup if required.
|
||||
Both cannot bind port 8222 simultaneously.
|
||||
|
||||
## Persistence, backup, restore and update
|
||||
|
||||
Back up `/mnt/user/appdata/traviorel/` privately (state, internal token and legacy credentials), both XMLs,
|
||||
and the OpenWebUI data/configuration. Stop the two Traviorel containers while making a filesystem backup,
|
||||
or use consistent SQLite backup methods. The internal token directory must remain shared by both containers.
|
||||
The OpenWebUI migration backup is `/app/backend/data/settings-backups/traviorel-migration/webui.db`.
|
||||
|
||||
On a replacement Unraid/Docker host: restore appdata and XMLs, run `initialize.sh` (valid existing tokens are retained),
|
||||
then create the backend and application containers. Restore OpenWebUI separately. Inspect health and MCP tools,
|
||||
then test a journey with departure/arrival/duration. Update both provider images together and retest.
|
||||
The templates track `latest`; the recorded digests document this deployment, not a promise of future compatibility.
|
||||
|
||||
This external Unraid integration does not alter the Debian native Deck installer. Full fresh-host restoration
|
||||
of the combined Unraid/OpenWebUI/Deck installation has not been exercised by this change.
|
||||
|
||||
## Known quality limits
|
||||
|
||||
The provider aggregates DB and Transitous. The initial test included very long Transitous detours alongside
|
||||
normal direct DB trains; complete results are not automatically useful recommendations.
|
||||
`prefer="fastest"` gives the model a short-journey ordering. Verify exact stations and use the actual returned times.
|
||||
Documentation/source inspection and live MCP tests do not establish long-term reliability.
|
||||
|
||||
## Acceptance on 2026-10-07
|
||||
|
||||
Both provider images were actually pulled and both containers reported healthy.
|
||||
MCP initialization from the OpenWebUI container reported `traviorel`, version `0.3.2`, with 12 tools.
|
||||
A live `search_ground` for Rastatt to Karlsruhe Hbf on 2026-10-08 after 07:21,
|
||||
with `include_flix=false`, `prefer=fastest`, `limit=5`, returned complete DB journeys.
|
||||
Every returned departure was at/after 07:21; departure-to-arrival differences matched every reported duration.
|
||||
Examples from this response: 07:22–07:46 (24 minutes), 07:32–07:48 (16 minutes).
|
||||
These are observed test responses, not independently verified guarantees about the actual timetable.
|
||||
The first attempt after changing tolerance reused a cached result; the new installation's
|
||||
one test journey and three component-cache entries were removed before repeating the test successfully.
|
||||
All 14 OpenWebUI tool-server connections were retained; only the existing Bahn entry's display name/description changed.
|
||||
OpenWebUI's own `/api/v1/configs/tool_servers/verify` also returned `status=true` for the final endpoint.
|
||||
Final health inspection: both new containers healthy; old container exited with restart policy `no`.
|
||||
@@ -0,0 +1,139 @@
|
||||
name: traviorel
|
||||
|
||||
services:
|
||||
secret-init:
|
||||
image: ghcr.io/lesecuritae/traviorel-app:latest
|
||||
build:
|
||||
context: ./tool
|
||||
args:
|
||||
TRVL_REF: ${TRVL_REF:-v1.24.0}
|
||||
TRVL_COMMIT: ${TRVL_COMMIT:-4f2b0d099e51931584826d4feecb14a2cfab5f66}
|
||||
WITH_TRVL: ${WITH_TRVL:-1}
|
||||
command: ["python", "/app/init_db_cffi_token.py"]
|
||||
user: "0:0"
|
||||
environment:
|
||||
DB_CFFI_TOKEN: "${DB_CFFI_TOKEN:-}"
|
||||
DB_CFFI_TOKEN_FILE: /run/traviorel-secrets/db_cffi_token
|
||||
volumes:
|
||||
- traviorel-secrets:/run/traviorel-secrets
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
restart: "no"
|
||||
|
||||
db-api:
|
||||
image: ghcr.io/lesecuritae/traviorel-db-api:latest
|
||||
build:
|
||||
context: ./db-api
|
||||
container_name: traviorel-db-api
|
||||
environment:
|
||||
PORT: "3001"
|
||||
USER_AGENT: traviorel/0.3.2
|
||||
DB_CFFI_BRIDGE_URL: http://app:8000/internal/db-cffi/request
|
||||
DB_CFFI_TOKEN: "${DB_CFFI_TOKEN:-}"
|
||||
DB_CFFI_TOKEN_FILE: /run/traviorel-secrets/db_cffi_token
|
||||
DBNAV_MAX_CONCURRENCY: "2"
|
||||
DBNAV_BLOCK_TTL_MS: "30000"
|
||||
DB_REQUEST_TIMEOUT_MS: "18000"
|
||||
DB_SPLIT_TIMEOUT_MS: "45000"
|
||||
DB_SPLIT_REQUEST_TIMEOUT_MS: "12000"
|
||||
networks:
|
||||
- reisevergleich
|
||||
volumes:
|
||||
- traviorel-secrets:/run/traviorel-secrets:ro
|
||||
group_add:
|
||||
- "10001"
|
||||
depends_on:
|
||||
secret-init:
|
||||
condition: service_completed_successfully
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
restart: unless-stopped
|
||||
|
||||
app:
|
||||
image: ghcr.io/lesecuritae/traviorel-app:latest
|
||||
build:
|
||||
context: ./tool
|
||||
args:
|
||||
TRVL_REF: ${TRVL_REF:-v1.24.0}
|
||||
TRVL_COMMIT: ${TRVL_COMMIT:-4f2b0d099e51931584826d4feecb14a2cfab5f66}
|
||||
WITH_TRVL: ${WITH_TRVL:-1}
|
||||
container_name: traviorel-app
|
||||
depends_on:
|
||||
secret-init:
|
||||
condition: service_completed_successfully
|
||||
db-api:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
TZ: Europe/Berlin
|
||||
APP_TIMEZONE: Europe/Berlin
|
||||
DB_API_URL: http://db-api:3001
|
||||
DB_CFFI_TOKEN: "${DB_CFFI_TOKEN:-}"
|
||||
DB_CFFI_TOKEN_FILE: /run/traviorel-secrets/db_cffi_token
|
||||
REISE_CACHE_DB: /var/lib/reisevergleich/cache.sqlite3
|
||||
HISTORY_ENABLED: "${HISTORY_ENABLED:-true}"
|
||||
HISTORY_CACHE_DIR: "${HISTORY_CACHE_DIR:-/var/lib/reisevergleich/history}"
|
||||
HISTORY_CACHE_MAX_GB: "${HISTORY_CACHE_MAX_GB:-5}"
|
||||
HISTORY_REMOTE_TIMEOUT: "${HISTORY_REMOTE_TIMEOUT:-60}"
|
||||
HISTORY_ENRICH_TIMEOUT: "${HISTORY_ENRICH_TIMEOUT:-8}"
|
||||
HISTORY_MAX_CONCURRENCY: "${HISTORY_MAX_CONCURRENCY:-2}"
|
||||
HISTORY_STATS_TTL: "${HISTORY_STATS_TTL:-86400}"
|
||||
HISTORY_DEFAULT_WINDOW_DAYS: "${HISTORY_DEFAULT_WINDOW_DAYS:-90}"
|
||||
HISTORY_SNAPSHOT_RETENTION_DAYS: "${HISTORY_SNAPSHOT_RETENTION_DAYS:-30}"
|
||||
HISTORY_SNAPSHOT_SCHEDULER_ENABLED: "${HISTORY_SNAPSHOT_SCHEDULER_ENABLED:-true}"
|
||||
HISTORY_SNAPSHOT_INTERVAL_SECONDS: "${HISTORY_SNAPSHOT_INTERVAL_SECONDS:-86400}"
|
||||
HISTORY_SNAPSHOT_INITIAL_DELAY_SECONDS: "${HISTORY_SNAPSHOT_INITIAL_DELAY_SECONDS:-60}"
|
||||
FLIGHT_PROVIDER_TIMEOUT: "25"
|
||||
FLIGHT_PROVIDER_CONCURRENCY: "3"
|
||||
HOTEL_ENRICH_TIMEOUT: "35"
|
||||
HOTEL_HEADLINE_TIMEOUT: "20"
|
||||
# trvl wartet sonst intern bis 18 s je Hotelprovider. Das lässt dem
|
||||
# äußeren 20-s-Headline-Fallback keine Zeit zum Mergen/Serialisieren.
|
||||
TRVL_PROVIDER_TIMEOUT: "8s"
|
||||
GROUND_PROVIDER_TIMEOUT: "22"
|
||||
GROUND_PROVIDER_CONCURRENCY: "2"
|
||||
FLIX_GTFS_URL: "https://api.transitous.org/gtfs/eu_flixbus.gtfs.zip"
|
||||
FLIX_GTFS_DIR: /var/lib/reisevergleich/flix-gtfs
|
||||
FLIX_GTFS_MAX_AGE: "86400"
|
||||
FLIX_GTFS_TIMEOUT: "30"
|
||||
NINA_API_URL: "${NINA_API_URL:-https://warnung.bund.de/api31}"
|
||||
NINA_TIMEOUT: "${NINA_TIMEOUT:-12}"
|
||||
NINA_CACHE_TTL: "${NINA_CACHE_TTL:-300}"
|
||||
TRANSFER_PROVIDER_TIMEOUT: "20"
|
||||
TRANSFER_PROVIDER_CONCURRENCY: "2"
|
||||
TRANSITOUS_TIMEOUT: "25"
|
||||
SEARCH_DEPARTURE_TOLERANCE_MINUTES: "${SEARCH_DEPARTURE_TOLERANCE_MINUTES:-15}"
|
||||
OPENCELLID_API_KEY: "${OPENCELLID_API_KEY:-}"
|
||||
OPENCELLID_CSV_PATH: "${OPENCELLID_CSV_PATH:-}"
|
||||
OPENCELLID_SEARCH_RADIUS_KM: "${OPENCELLID_SEARCH_RADIUS_KM:-5}"
|
||||
DB_SEARCH_TIMEOUT: "50"
|
||||
DB_SPLIT_TIMEOUT: "45"
|
||||
TRIP_TIMEOUT: "210"
|
||||
TRVL_NO_TELEMETRY: "1"
|
||||
NO_TELEMETRY: "1"
|
||||
DO_NOT_TRACK: "1"
|
||||
TRVL_DISABLE_UPDATE_CHECK: "1"
|
||||
TRVL_NO_BROWSER_COOKIES: "1"
|
||||
TRVL_NO_TIER2_CDP: "1"
|
||||
TRVL_ALLOW_BROWSER_FALLBACKS: "false"
|
||||
CI: "1"
|
||||
volumes:
|
||||
- traviorel-state:/var/lib/reisevergleich
|
||||
- traviorel-secrets:/run/traviorel-secrets:ro
|
||||
ports:
|
||||
- "${TRAVIOREL_BIND_HOST:-127.0.0.1}:${TRAVIOREL_PORT:-8791}:8000"
|
||||
networks:
|
||||
- reisevergleich
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
shm_size: 256m
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
reisevergleich:
|
||||
name: traviorel-net
|
||||
|
||||
volumes:
|
||||
traviorel-state:
|
||||
name: traviorel-state
|
||||
traviorel-secrets:
|
||||
name: traviorel-secrets
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"secret-init": {
|
||||
"DB_CFFI_TOKEN": "",
|
||||
"DB_CFFI_TOKEN_FILE": "/run/traviorel-secrets/db_cffi_token"
|
||||
},
|
||||
"db-api": {
|
||||
"PORT": "3001",
|
||||
"USER_AGENT": "traviorel/0.3.2",
|
||||
"DB_CFFI_BRIDGE_URL": "http://traviorel-app:8000/internal/db-cffi/request",
|
||||
"DB_CFFI_TOKEN_FILE": "/run/traviorel-secrets/db_cffi_token",
|
||||
"DBNAV_MAX_CONCURRENCY": "2",
|
||||
"DBNAV_BLOCK_TTL_MS": "30000",
|
||||
"DB_REQUEST_TIMEOUT_MS": "18000",
|
||||
"DB_SPLIT_TIMEOUT_MS": "45000",
|
||||
"DB_SPLIT_REQUEST_TIMEOUT_MS": "12000"
|
||||
},
|
||||
"app": {
|
||||
"TZ": "Europe/Berlin",
|
||||
"APP_TIMEZONE": "Europe/Berlin",
|
||||
"DB_API_URL": "http://traviorel-db-api:3001",
|
||||
"DB_CFFI_TOKEN_FILE": "/run/traviorel-secrets/db_cffi_token",
|
||||
"REISE_CACHE_DB": "/var/lib/reisevergleich/cache.sqlite3",
|
||||
"HISTORY_ENABLED": "true",
|
||||
"HISTORY_CACHE_DIR": "/var/lib/reisevergleich/history",
|
||||
"HISTORY_CACHE_MAX_GB": "5",
|
||||
"HISTORY_REMOTE_TIMEOUT": "60",
|
||||
"HISTORY_ENRICH_TIMEOUT": "8",
|
||||
"HISTORY_MAX_CONCURRENCY": "2",
|
||||
"HISTORY_STATS_TTL": "86400",
|
||||
"HISTORY_DEFAULT_WINDOW_DAYS": "90",
|
||||
"HISTORY_SNAPSHOT_RETENTION_DAYS": "30",
|
||||
"HISTORY_SNAPSHOT_SCHEDULER_ENABLED": "true",
|
||||
"HISTORY_SNAPSHOT_INTERVAL_SECONDS": "86400",
|
||||
"HISTORY_SNAPSHOT_INITIAL_DELAY_SECONDS": "60",
|
||||
"FLIGHT_PROVIDER_TIMEOUT": "25",
|
||||
"FLIGHT_PROVIDER_CONCURRENCY": "3",
|
||||
"HOTEL_ENRICH_TIMEOUT": "35",
|
||||
"HOTEL_HEADLINE_TIMEOUT": "20",
|
||||
"TRVL_PROVIDER_TIMEOUT": "8s",
|
||||
"GROUND_PROVIDER_TIMEOUT": "22",
|
||||
"GROUND_PROVIDER_CONCURRENCY": "2",
|
||||
"FLIX_GTFS_URL": "https://api.transitous.org/gtfs/eu_flixbus.gtfs.zip",
|
||||
"FLIX_GTFS_DIR": "/var/lib/reisevergleich/flix-gtfs",
|
||||
"FLIX_GTFS_MAX_AGE": "86400",
|
||||
"FLIX_GTFS_TIMEOUT": "30",
|
||||
"NINA_API_URL": "https://warnung.bund.de/api31",
|
||||
"NINA_TIMEOUT": "12",
|
||||
"NINA_CACHE_TTL": "300",
|
||||
"TRANSFER_PROVIDER_TIMEOUT": "20",
|
||||
"TRANSFER_PROVIDER_CONCURRENCY": "2",
|
||||
"TRANSITOUS_TIMEOUT": "25",
|
||||
"SEARCH_DEPARTURE_TOLERANCE_MINUTES": "0",
|
||||
"OPENCELLID_API_KEY": "",
|
||||
"OPENCELLID_CSV_PATH": "",
|
||||
"OPENCELLID_SEARCH_RADIUS_KM": "5",
|
||||
"DB_SEARCH_TIMEOUT": "50",
|
||||
"DB_SPLIT_TIMEOUT": "45",
|
||||
"TRIP_TIMEOUT": "210",
|
||||
"TRVL_NO_TELEMETRY": "1",
|
||||
"NO_TELEMETRY": "1",
|
||||
"DO_NOT_TRACK": "1",
|
||||
"TRVL_DISABLE_UPDATE_CHECK": "1",
|
||||
"TRVL_NO_BROWSER_COOKIES": "1",
|
||||
"TRVL_NO_TIER2_CDP": "1",
|
||||
"TRVL_ALLOW_BROWSER_FALLBACKS": "false",
|
||||
"CI": "1"
|
||||
},
|
||||
"reisevergleich": {},
|
||||
"traviorel-state": {},
|
||||
"traviorel-secrets": {}
|
||||
}
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
# Run on the Docker/Unraid host before creating the two containers from XML.
|
||||
set -eu
|
||||
TASK_STATE_ROOT=${TRAVIOREL_STATE_ROOT:-/mnt/user/appdata/traviorel}
|
||||
mkdir -p "$TASK_STATE_ROOT/state" "$TASK_STATE_ROOT/secrets"
|
||||
chown 10001:999 "$TASK_STATE_ROOT/state"
|
||||
chmod 755 "$TASK_STATE_ROOT/state"
|
||||
docker network inspect traviorel-net >/dev/null 2>&1 || docker network create traviorel-net
|
||||
docker run --rm --user 0 --entrypoint python \
|
||||
-e DB_CFFI_TOKEN_FILE=/run/traviorel-secrets/db_cffi_token \
|
||||
-v "$TASK_STATE_ROOT/secrets:/run/traviorel-secrets" \
|
||||
ghcr.io/lesecuritae/traviorel-app:latest /app/init_db_cffi_token.py
|
||||
@@ -0,0 +1,70 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<Container version="2">
|
||||
<Name>traviorel-app</Name>
|
||||
<Repository>ghcr.io/lesecuritae/traviorel-app:latest</Repository>
|
||||
<Registry>https://github.com/lesecuritae/FareWeave/pkgs/container/traviorel-app</Registry>
|
||||
<Network>traviorel-net</Network>
|
||||
<Shell>sh</Shell>
|
||||
<Privileged>false</Privileged>
|
||||
<Support>https://github.com/lesecuritae/FareWeave/issues</Support>
|
||||
<Project>https://github.com/lesecuritae/FareWeave</Project>
|
||||
<Overview>Official Traviorel 0.3.2 app. Requires its paired container and one-time token initialization.</Overview>
|
||||
<Category>Tools:</Category>
|
||||
<WebUI>http://[IP]:[PORT:8000]</WebUI>
|
||||
<ExtraParams>--security-opt no-new-privileges:true --shm-size=256m</ExtraParams>
|
||||
<PostArgs />
|
||||
<TemplateURL />
|
||||
<Icon />
|
||||
<Config Name="Web UI and MCP port" Target="8000" Default="8222" Mode="tcp" Description="Web UI and MCP port" Type="Port" Display="always" Required="true" Mask="false">8222</Config>
|
||||
<Config Name="Persistent application state" Target="/var/lib/reisevergleich" Default="/mnt/user/appdata/traviorel/state" Mode="rw" Description="Persistent application state" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/traviorel/state</Config>
|
||||
<Config Name="Internal token directory" Target="/run/traviorel-secrets" Default="/mnt/user/appdata/traviorel/secrets" Mode="ro" Description="Internal token directory" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/traviorel/secrets</Config>
|
||||
<Config Name="TZ" Target="TZ" Default="Europe/Berlin" Mode="" Description="TZ" Type="Variable" Display="always" Required="true" Mask="false">Europe/Berlin</Config>
|
||||
<Config Name="APP_TIMEZONE" Target="APP_TIMEZONE" Default="Europe/Berlin" Mode="" Description="APP_TIMEZONE" Type="Variable" Display="always" Required="true" Mask="false">Europe/Berlin</Config>
|
||||
<Config Name="DB_API_URL" Target="DB_API_URL" Default="http://traviorel-db-api:3001" Mode="" Description="DB_API_URL" Type="Variable" Display="always" Required="true" Mask="false">http://traviorel-db-api:3001</Config>
|
||||
<Config Name="DB_CFFI_TOKEN_FILE" Target="DB_CFFI_TOKEN_FILE" Default="/run/traviorel-secrets/db_cffi_token" Mode="" Description="DB_CFFI_TOKEN_FILE" Type="Variable" Display="always" Required="true" Mask="false">/run/traviorel-secrets/db_cffi_token</Config>
|
||||
<Config Name="REISE_CACHE_DB" Target="REISE_CACHE_DB" Default="/var/lib/reisevergleich/cache.sqlite3" Mode="" Description="REISE_CACHE_DB" Type="Variable" Display="always" Required="true" Mask="false">/var/lib/reisevergleich/cache.sqlite3</Config>
|
||||
<Config Name="HISTORY_ENABLED" Target="HISTORY_ENABLED" Default="true" Mode="" Description="HISTORY_ENABLED" Type="Variable" Display="always" Required="true" Mask="false">true</Config>
|
||||
<Config Name="HISTORY_CACHE_DIR" Target="HISTORY_CACHE_DIR" Default="/var/lib/reisevergleich/history" Mode="" Description="HISTORY_CACHE_DIR" Type="Variable" Display="always" Required="true" Mask="false">/var/lib/reisevergleich/history</Config>
|
||||
<Config Name="HISTORY_CACHE_MAX_GB" Target="HISTORY_CACHE_MAX_GB" Default="5" Mode="" Description="HISTORY_CACHE_MAX_GB" Type="Variable" Display="always" Required="true" Mask="false">5</Config>
|
||||
<Config Name="HISTORY_REMOTE_TIMEOUT" Target="HISTORY_REMOTE_TIMEOUT" Default="60" Mode="" Description="HISTORY_REMOTE_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">60</Config>
|
||||
<Config Name="HISTORY_ENRICH_TIMEOUT" Target="HISTORY_ENRICH_TIMEOUT" Default="8" Mode="" Description="HISTORY_ENRICH_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">8</Config>
|
||||
<Config Name="HISTORY_MAX_CONCURRENCY" Target="HISTORY_MAX_CONCURRENCY" Default="2" Mode="" Description="HISTORY_MAX_CONCURRENCY" Type="Variable" Display="always" Required="true" Mask="false">2</Config>
|
||||
<Config Name="HISTORY_STATS_TTL" Target="HISTORY_STATS_TTL" Default="86400" Mode="" Description="HISTORY_STATS_TTL" Type="Variable" Display="always" Required="true" Mask="false">86400</Config>
|
||||
<Config Name="HISTORY_DEFAULT_WINDOW_DAYS" Target="HISTORY_DEFAULT_WINDOW_DAYS" Default="90" Mode="" Description="HISTORY_DEFAULT_WINDOW_DAYS" Type="Variable" Display="always" Required="true" Mask="false">90</Config>
|
||||
<Config Name="HISTORY_SNAPSHOT_RETENTION_DAYS" Target="HISTORY_SNAPSHOT_RETENTION_DAYS" Default="30" Mode="" Description="HISTORY_SNAPSHOT_RETENTION_DAYS" Type="Variable" Display="always" Required="true" Mask="false">30</Config>
|
||||
<Config Name="HISTORY_SNAPSHOT_SCHEDULER_ENABLED" Target="HISTORY_SNAPSHOT_SCHEDULER_ENABLED" Default="true" Mode="" Description="HISTORY_SNAPSHOT_SCHEDULER_ENABLED" Type="Variable" Display="always" Required="true" Mask="false">true</Config>
|
||||
<Config Name="HISTORY_SNAPSHOT_INTERVAL_SECONDS" Target="HISTORY_SNAPSHOT_INTERVAL_SECONDS" Default="86400" Mode="" Description="HISTORY_SNAPSHOT_INTERVAL_SECONDS" Type="Variable" Display="always" Required="true" Mask="false">86400</Config>
|
||||
<Config Name="HISTORY_SNAPSHOT_INITIAL_DELAY_SECONDS" Target="HISTORY_SNAPSHOT_INITIAL_DELAY_SECONDS" Default="60" Mode="" Description="HISTORY_SNAPSHOT_INITIAL_DELAY_SECONDS" Type="Variable" Display="always" Required="true" Mask="false">60</Config>
|
||||
<Config Name="FLIGHT_PROVIDER_TIMEOUT" Target="FLIGHT_PROVIDER_TIMEOUT" Default="25" Mode="" Description="FLIGHT_PROVIDER_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">25</Config>
|
||||
<Config Name="FLIGHT_PROVIDER_CONCURRENCY" Target="FLIGHT_PROVIDER_CONCURRENCY" Default="3" Mode="" Description="FLIGHT_PROVIDER_CONCURRENCY" Type="Variable" Display="always" Required="true" Mask="false">3</Config>
|
||||
<Config Name="HOTEL_ENRICH_TIMEOUT" Target="HOTEL_ENRICH_TIMEOUT" Default="35" Mode="" Description="HOTEL_ENRICH_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">35</Config>
|
||||
<Config Name="HOTEL_HEADLINE_TIMEOUT" Target="HOTEL_HEADLINE_TIMEOUT" Default="20" Mode="" Description="HOTEL_HEADLINE_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">20</Config>
|
||||
<Config Name="TRVL_PROVIDER_TIMEOUT" Target="TRVL_PROVIDER_TIMEOUT" Default="8s" Mode="" Description="TRVL_PROVIDER_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">8s</Config>
|
||||
<Config Name="GROUND_PROVIDER_TIMEOUT" Target="GROUND_PROVIDER_TIMEOUT" Default="22" Mode="" Description="GROUND_PROVIDER_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">22</Config>
|
||||
<Config Name="GROUND_PROVIDER_CONCURRENCY" Target="GROUND_PROVIDER_CONCURRENCY" Default="2" Mode="" Description="GROUND_PROVIDER_CONCURRENCY" Type="Variable" Display="always" Required="true" Mask="false">2</Config>
|
||||
<Config Name="FLIX_GTFS_URL" Target="FLIX_GTFS_URL" Default="https://api.transitous.org/gtfs/eu_flixbus.gtfs.zip" Mode="" Description="FLIX_GTFS_URL" Type="Variable" Display="always" Required="true" Mask="false">https://api.transitous.org/gtfs/eu_flixbus.gtfs.zip</Config>
|
||||
<Config Name="FLIX_GTFS_DIR" Target="FLIX_GTFS_DIR" Default="/var/lib/reisevergleich/flix-gtfs" Mode="" Description="FLIX_GTFS_DIR" Type="Variable" Display="always" Required="true" Mask="false">/var/lib/reisevergleich/flix-gtfs</Config>
|
||||
<Config Name="FLIX_GTFS_MAX_AGE" Target="FLIX_GTFS_MAX_AGE" Default="86400" Mode="" Description="FLIX_GTFS_MAX_AGE" Type="Variable" Display="always" Required="true" Mask="false">86400</Config>
|
||||
<Config Name="FLIX_GTFS_TIMEOUT" Target="FLIX_GTFS_TIMEOUT" Default="30" Mode="" Description="FLIX_GTFS_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">30</Config>
|
||||
<Config Name="NINA_API_URL" Target="NINA_API_URL" Default="https://warnung.bund.de/api31" Mode="" Description="NINA_API_URL" Type="Variable" Display="always" Required="true" Mask="false">https://warnung.bund.de/api31</Config>
|
||||
<Config Name="NINA_TIMEOUT" Target="NINA_TIMEOUT" Default="12" Mode="" Description="NINA_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">12</Config>
|
||||
<Config Name="NINA_CACHE_TTL" Target="NINA_CACHE_TTL" Default="300" Mode="" Description="NINA_CACHE_TTL" Type="Variable" Display="always" Required="true" Mask="false">300</Config>
|
||||
<Config Name="TRANSFER_PROVIDER_TIMEOUT" Target="TRANSFER_PROVIDER_TIMEOUT" Default="20" Mode="" Description="TRANSFER_PROVIDER_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">20</Config>
|
||||
<Config Name="TRANSFER_PROVIDER_CONCURRENCY" Target="TRANSFER_PROVIDER_CONCURRENCY" Default="2" Mode="" Description="TRANSFER_PROVIDER_CONCURRENCY" Type="Variable" Display="always" Required="true" Mask="false">2</Config>
|
||||
<Config Name="TRANSITOUS_TIMEOUT" Target="TRANSITOUS_TIMEOUT" Default="25" Mode="" Description="TRANSITOUS_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">25</Config>
|
||||
<Config Name="SEARCH_DEPARTURE_TOLERANCE_MINUTES" Target="SEARCH_DEPARTURE_TOLERANCE_MINUTES" Default="0" Mode="" Description="SEARCH_DEPARTURE_TOLERANCE_MINUTES" Type="Variable" Display="always" Required="true" Mask="false">0</Config>
|
||||
<Config Name="OPENCELLID_API_KEY" Target="OPENCELLID_API_KEY" Default="" Mode="" Description="OPENCELLID_API_KEY" Type="Variable" Display="always" Required="true" Mask="false" />
|
||||
<Config Name="OPENCELLID_CSV_PATH" Target="OPENCELLID_CSV_PATH" Default="" Mode="" Description="OPENCELLID_CSV_PATH" Type="Variable" Display="always" Required="true" Mask="false" />
|
||||
<Config Name="OPENCELLID_SEARCH_RADIUS_KM" Target="OPENCELLID_SEARCH_RADIUS_KM" Default="5" Mode="" Description="OPENCELLID_SEARCH_RADIUS_KM" Type="Variable" Display="always" Required="true" Mask="false">5</Config>
|
||||
<Config Name="DB_SEARCH_TIMEOUT" Target="DB_SEARCH_TIMEOUT" Default="50" Mode="" Description="DB_SEARCH_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">50</Config>
|
||||
<Config Name="DB_SPLIT_TIMEOUT" Target="DB_SPLIT_TIMEOUT" Default="45" Mode="" Description="DB_SPLIT_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">45</Config>
|
||||
<Config Name="TRIP_TIMEOUT" Target="TRIP_TIMEOUT" Default="210" Mode="" Description="TRIP_TIMEOUT" Type="Variable" Display="always" Required="true" Mask="false">210</Config>
|
||||
<Config Name="TRVL_NO_TELEMETRY" Target="TRVL_NO_TELEMETRY" Default="1" Mode="" Description="TRVL_NO_TELEMETRY" Type="Variable" Display="always" Required="true" Mask="false">1</Config>
|
||||
<Config Name="NO_TELEMETRY" Target="NO_TELEMETRY" Default="1" Mode="" Description="NO_TELEMETRY" Type="Variable" Display="always" Required="true" Mask="false">1</Config>
|
||||
<Config Name="DO_NOT_TRACK" Target="DO_NOT_TRACK" Default="1" Mode="" Description="DO_NOT_TRACK" Type="Variable" Display="always" Required="true" Mask="false">1</Config>
|
||||
<Config Name="TRVL_DISABLE_UPDATE_CHECK" Target="TRVL_DISABLE_UPDATE_CHECK" Default="1" Mode="" Description="TRVL_DISABLE_UPDATE_CHECK" Type="Variable" Display="always" Required="true" Mask="false">1</Config>
|
||||
<Config Name="TRVL_NO_BROWSER_COOKIES" Target="TRVL_NO_BROWSER_COOKIES" Default="1" Mode="" Description="TRVL_NO_BROWSER_COOKIES" Type="Variable" Display="always" Required="true" Mask="false">1</Config>
|
||||
<Config Name="TRVL_NO_TIER2_CDP" Target="TRVL_NO_TIER2_CDP" Default="1" Mode="" Description="TRVL_NO_TIER2_CDP" Type="Variable" Display="always" Required="true" Mask="false">1</Config>
|
||||
<Config Name="TRVL_ALLOW_BROWSER_FALLBACKS" Target="TRVL_ALLOW_BROWSER_FALLBACKS" Default="false" Mode="" Description="TRVL_ALLOW_BROWSER_FALLBACKS" Type="Variable" Display="always" Required="true" Mask="false">false</Config>
|
||||
<Config Name="CI" Target="CI" Default="1" Mode="" Description="CI" Type="Variable" Display="always" Required="true" Mask="false">1</Config>
|
||||
</Container>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<Container version="2">
|
||||
<Name>traviorel-db-api</Name>
|
||||
<Repository>ghcr.io/lesecuritae/traviorel-db-api:latest</Repository>
|
||||
<Registry>https://github.com/lesecuritae/FareWeave/pkgs/container/traviorel-db-api</Registry>
|
||||
<Network>traviorel-net</Network>
|
||||
<Shell>sh</Shell>
|
||||
<Privileged>false</Privileged>
|
||||
<Support>https://github.com/lesecuritae/FareWeave/issues</Support>
|
||||
<Project>https://github.com/lesecuritae/FareWeave</Project>
|
||||
<Overview>Official Traviorel 0.3.2 db-api. Requires its paired container and one-time token initialization.</Overview>
|
||||
<Category>Tools:</Category>
|
||||
<WebUI />
|
||||
<ExtraParams>--security-opt no-new-privileges:true --group-add 10001</ExtraParams>
|
||||
<PostArgs />
|
||||
<TemplateURL />
|
||||
<Icon />
|
||||
<Config Name="Internal token directory" Target="/run/traviorel-secrets" Default="/mnt/user/appdata/traviorel/secrets" Mode="ro" Description="Internal token directory" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/traviorel/secrets</Config>
|
||||
<Config Name="PORT" Target="PORT" Default="3001" Mode="" Description="PORT" Type="Variable" Display="always" Required="true" Mask="false">3001</Config>
|
||||
<Config Name="USER_AGENT" Target="USER_AGENT" Default="traviorel/0.3.2" Mode="" Description="USER_AGENT" Type="Variable" Display="always" Required="true" Mask="false">traviorel/0.3.2</Config>
|
||||
<Config Name="DB_CFFI_BRIDGE_URL" Target="DB_CFFI_BRIDGE_URL" Default="http://traviorel-app:8000/internal/db-cffi/request" Mode="" Description="DB_CFFI_BRIDGE_URL" Type="Variable" Display="always" Required="true" Mask="false">http://traviorel-app:8000/internal/db-cffi/request</Config>
|
||||
<Config Name="DB_CFFI_TOKEN_FILE" Target="DB_CFFI_TOKEN_FILE" Default="/run/traviorel-secrets/db_cffi_token" Mode="" Description="DB_CFFI_TOKEN_FILE" Type="Variable" Display="always" Required="true" Mask="false">/run/traviorel-secrets/db_cffi_token</Config>
|
||||
<Config Name="DBNAV_MAX_CONCURRENCY" Target="DBNAV_MAX_CONCURRENCY" Default="2" Mode="" Description="DBNAV_MAX_CONCURRENCY" Type="Variable" Display="always" Required="true" Mask="false">2</Config>
|
||||
<Config Name="DBNAV_BLOCK_TTL_MS" Target="DBNAV_BLOCK_TTL_MS" Default="30000" Mode="" Description="DBNAV_BLOCK_TTL_MS" Type="Variable" Display="always" Required="true" Mask="false">30000</Config>
|
||||
<Config Name="DB_REQUEST_TIMEOUT_MS" Target="DB_REQUEST_TIMEOUT_MS" Default="18000" Mode="" Description="DB_REQUEST_TIMEOUT_MS" Type="Variable" Display="always" Required="true" Mask="false">18000</Config>
|
||||
<Config Name="DB_SPLIT_TIMEOUT_MS" Target="DB_SPLIT_TIMEOUT_MS" Default="45000" Mode="" Description="DB_SPLIT_TIMEOUT_MS" Type="Variable" Display="always" Required="true" Mask="false">45000</Config>
|
||||
<Config Name="DB_SPLIT_REQUEST_TIMEOUT_MS" Target="DB_SPLIT_REQUEST_TIMEOUT_MS" Default="12000" Mode="" Description="DB_SPLIT_REQUEST_TIMEOUT_MS" Type="Variable" Display="always" Required="true" Mask="false">12000</Config>
|
||||
</Container>
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"repository": "https://github.com/lesecuritae/FareWeave",
|
||||
"revision": "eea55cca789b38d43cd222e9ca8d47f5a60811c7",
|
||||
"version": "0.3.2",
|
||||
"app_digest": "sha256:2eef47df2964cb55e7eee43a85518fbd6d5cb86534b3971bce8524b4b7dad168",
|
||||
"db_api_digest": "sha256:759cd4740ce645d54c46e5c963c51e25e38399878ce2c84f197cff4c4a06a517"
|
||||
}
|
||||
Reference in new issue
Block a user