openvibers/openvibe.tours .env.example

.env.example

main 2.7 KB · 76 lines · plaintext

1# OpenVibe.Tours — copy to /etc/openvibe/tours.env in production; never commit the real file.
2NODE_ENV=production
3PORT=5170
4HOST=127.0.0.1
5BASE_URL=https://openvibe.tours
6
7# PostgreSQL (ADR-035): DATABASE_URL serves, DATABASE_DIRECT_URL migrates with the owner role.
8DATABASE_URL=postgres://openvibe_tours:[email protected]:6432/openvibe_tours
9DATABASE_DIRECT_URL=postgres://openvibe_tours:[email protected]:5432/openvibe_tours
10VALKEY_URL=redis://127.0.0.1:6379
11VALKEY_PREFIX=ov:tours:
12
13# OpenVibe.Network: OAuth client tours + the session JWKS.
14OV_NETWORK_URL=https://openvibe.network
15OV_NETWORK_INTERNAL_URL=http://127.0.0.1:4000
16OV_NETWORK_ISSUER=https://openvibe.network
17OV_OAUTH_CLIENT_ID=tours
18OV_OAUTH_CLIENT_SECRET=
19OV_OAUTH_REDIRECT_URI=https://openvibe.tours/auth/callback
20OV_SESSION_AUDIENCE=openvibe.network
21TOURS_AUDIENCE=openvibe.tours
22COOKIE_SECURE=true
23
24# Account export/deletion delivery from OpenVibe.Events (32+ chars, comma-separated for rotation).
25TOURS_EVENTS_SECRET=
26TOURS_EVENTS_URL=https://openvibe.events
27TOURS_EVENTS_ENDPOINT=
28TOURS_EVENTS_SCOPE=events.subscription.manage
29
30# The public APIs and open data the jobs read (all keyless).
31OV_LIVE_URL=https://openvibe.live
32OV_LIVE_PUBLIC_URL=https://openvibe.live
33OV_VIDEO_PUBLIC_URL=https://openvibe.video
34OV_RENT_URL=https://openvibe.rent
35OV_RENT_PUBLIC_URL=https://openvibe.rent
36OV_WIKIVOYAGE_URL=https://en.wikivoyage.org
37OV_WIKIDATA_URL=https://www.wikidata.org
38OV_WIKIPEDIA_URL=https://en.wikipedia.org
39OV_COMMONS_URL=https://commons.wikimedia.org
40OV_OVERPASS_URL=https://overpass-api.de/api/interpreter
41
42# Identify every OpenStreetMap request; pace each host; bound each city query by radius.
43TOURS_USER_AGENT=OpenVibeTours/0.1 (+https://openvibe.tours; [email protected])
44TOURS_OSM_EMAIL=
45TOURS_MIN_INTERVAL_MS=1100
46TOURS_OSM_RADIUS_M=3500
47TOURS_OSM_MAX_PER_CITY=80
48TOURS_CITY_LIMIT=100
49TOURS_WIKIVOYAGE_DISTRICTS=2
50TOURS_UPSTREAM_TIMEOUT_MS=60000
51TOURS_OSM_CITIES_PER_RUN=10
52
53# Source jobs: off under TOURS_DRILL; each has its own refresh interval.
54TOURS_JOBS=on
55TOURS_JOBS_INTERVAL_MS=21600000
56TOURS_CITIES_INTERVAL_MS=86400000
57TOURS_PLACES_INTERVAL_MS=604800000
58TOURS_ROUTES_INTERVAL_MS=604800000
59TOURS_LIVE_INTERVAL_MS=120000
60TOURS_STAYS_INTERVAL_MS=21600000
61
62# Flights: no key in v1. The form links the official airline-neutral search. A key alone leaves the seam off until
63# an adapter exists; never put a real key in this file in git.
64TOURS_FLIGHTS_SEARCH_URL=https://www.google.com/travel/flights
65TOURS_DUFFEL_API_KEY=
66TOURS_KIWI_API_KEY=
67
68# Limits.
69TOURS_RATE_LIMIT_PER_MIN=300
70TOURS_API_RATE_LIMIT_PER_MIN=240
71TOURS_LIMITS_MINUTE=120
72TOURS_LIMITS_HOUR=3000
73
74# Development only: embedded PGlite directory when DATABASE_URL is unset.
75TOURS_PGLITE_DIR=
76