openvibers/openvibe.today .env.example
.env.example
| 1 | # OpenVibe.Today — environment (production: /etc/openvibe/today.env). Names only; never commit values. |
| 2 | |
| 3 | NODE_ENV=production |
| 4 | PORT=5100 |
| 5 | HOST=127.0.0.1 |
| 6 | BASE_URL=https://openvibe.today |
| 7 | TRUST_PROXY=2 |
| 8 | # PostgreSQL (ADR-035), written by OpenVibe.Host roles/data/add-service.sh today: the runtime role through PgBouncer, |
| 9 | # the owner on a direct connection (migrations), and Valkey (shared limit counters). |
| 10 | # Without DATABASE_URL, development uses an embedded PGlite database in data/pglite. |
| 11 | DATABASE_URL= |
| 12 | DATABASE_DIRECT_URL= |
| 13 | VALKEY_URL= |
| 14 | VALKEY_PREFIX=ov:today: |
| 15 | # Per-caller limits (server/app.js): requests one address may make to the API and to the pages per minute. |
| 16 | #TODAY_LIMITS_MINUTE=120 |
| 17 | #TODAY_LIMITS_HOUR=3000 |
| 18 | |
| 19 | # OpenVibe.Network: SSO (OAuth client `today`, PKCE S256) and its JWKS; app tokens for audience openvibe.today. |
| 20 | OV_NETWORK_URL=https://openvibe.network |
| 21 | OV_NETWORK_INTERNAL_URL=http://127.0.0.1:4000 |
| 22 | # OV_NETWORK_ISSUER=https://openvibe.network |
| 23 | OV_OAUTH_CLIENT_ID=today |
| 24 | OV_OAUTH_CLIENT_SECRET= |
| 25 | # OV_OAUTH_REDIRECT_URI=https://openvibe.today/auth/callback |
| 26 | # TODAY_AUDIENCE=openvibe.today |
| 27 | # OV_SESSION_AUDIENCE=openvibe.network |
| 28 | # TODAY_PGLITE_DIR=./data/pglite |
| 29 | |
| 30 | # OpenVibe.Events: where the outbox publishes and the subscriptions are created at boot. The secret signs |
| 31 | # deliveries (comma-separated for rotation, 32+ characters each; unset makes POST /internal/events answer 503). |
| 32 | # TODAY_EVENTS_SUBSCRIBE=0 turns the boot-time subscriptions off. |
| 33 | TODAY_EVENTS_SECRET= |
| 34 | TODAY_EVENTS_URL= |
| 35 | #TODAY_EVENTS_ENDPOINT=http://127.0.0.1:5100/internal/events |
| 36 | #TODAY_EVENTS_INTERVAL_MS=5000 |
| 37 | #TODAY_EVENTS_SCOPE=events.publish |
| 38 | |
| 39 | # OpenVibe.Live's public Rundown API, for "Yesterday on OpenVibe" in the brief. |
| 40 | OV_LIVE_INTERNAL_URL=http://127.0.0.1:3000 |
| 41 | #TODAY_LIVE_TIMEOUT_MS=2500 |
| 42 | |
| 43 | # Imports: the public services that fill the agenda (server/imports/). The job runs at boot and every interval; |
| 44 | # TODAY_IMPORTS=0 turns it off everywhere. Countries are Nager.Date codes; the Events pull stays off until |
| 45 | # TODAY_IMPORTS_EVENTS_TOPICS names public people-facing topics (comma-separated). |
| 46 | #TODAY_IMPORTS_INTERVAL_MS=900000 |
| 47 | #TODAY_IMPORTS_TIMEOUT_MS=8000 |
| 48 | #OV_LIVE_URL=https://openvibe.live |
| 49 | #OV_FUN_URL=https://openvibe.fun |
| 50 | #TODAY_HOLIDAY_COUNTRIES=US,GB,CA,DE,FR,ES,IT,NL,BE,AT,CH,SE,NO,DK,FI,PL,PT,IE,AU,NZ,JP,BR,IN,MX,CZ |
| 51 | #OV_EVENTS_URL=https://openvibe.events |
| 52 | #TODAY_IMPORTS_EVENTS_TOPICS= |
| 53 | #TODAY_IMPORTS_EVENTS_SCOPE=events.event.read |
| 54 | |
| 55 | # The daily brief at 06:00 UTC for subjects active in the last 30 days. |
| 56 | #TODAY_BRIEF_HOUR_UTC=6 |
| 57 | #TODAY_BRIEF_ACTIVE_DAYS=30 |
| 58 | |
| 59 | # Caches: the follow graph per subject (60 s) and Network user ids for reminders (5 min). |
| 60 | #TODAY_FOLLOWS_CACHE_MS=60000 |
| 61 | #TODAY_RESOLVE_CACHE_MS=300000 |
| 62 | |
| 63 | # A restore drill starts no jobs and creates no subscriptions. |
| 64 | #TODAY_DRILL=0 |
| 65 | |
| 66 | # optional: defaults to true in production |
| 67 | # COOKIE_SECURE=true |
| 68 |