openvibers/openvibe.zone .env.example
.env.example
| 1 | # OpenVibe.Zone — environment (production: /etc/openvibe/zone.env). Names only; never commit values. |
| 2 | |
| 3 | NODE_ENV=production |
| 4 | PORT=5050 |
| 5 | HOST=127.0.0.1 |
| 6 | BASE_URL=https://openvibe.zone |
| 7 | TRUST_PROXY=2 |
| 8 | # PostgreSQL (ADR-035), written by OpenVibe.Host roles/data/add-service.sh zone: 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:zone: |
| 15 | # Per-caller limits (server/http/caller-limits.js): requests one caller may make to the API per minute and per hour. |
| 16 | #ZONE_LIMITS_MINUTE=120 |
| 17 | #ZONE_LIMITS_HOUR=3000 |
| 18 | |
| 19 | # OpenVibe.Network: SSO (OAuth client `zone`, PKCE S256) and its JWKS; app tokens for audience openvibe.zone (Network's rule: openvibe.<service>). |
| 20 | OV_NETWORK_URL=https://openvibe.network |
| 21 | OV_NETWORK_INTERNAL_URL=http://127.0.0.1:4000 |
| 22 | OV_OAUTH_CLIENT_ID=zone |
| 23 | OV_OAUTH_CLIENT_SECRET= |
| 24 | # OV_OAUTH_REDIRECT_URI=https://openvibe.zone/auth/callback |
| 25 | # ZONE_AUDIENCE=openvibe.zone |
| 26 | |
| 27 | # optional: defaults to true in production |
| 28 | # COOKIE_SECURE=true |
| 29 | |
| 30 | # OpenVibe.Media: Zone provisions each zone there and asks it for usage, deletion progress and access keys (loopback, |
| 31 | # with Zone's own client-credentials token: grants media.zone.provision and media.access_key.manage). |
| 32 | MEDIA_INTERNAL_URL=http://127.0.0.1:4100 |
| 33 | # OpenVibe.Events: Media's per-zone rollups (media.usage.recorded) are delivered to POST /internal/events, signed with |
| 34 | # ZONE_EVENTS_SECRET (32+ characters; comma-separated to rotate). The subscription is created at boot when both are set. |
| 35 | EVENTS_URL= |
| 36 | ZONE_EVENTS_SECRET= |
| 37 | # The S3 endpoint the console and the docs name (s3.openvibe.media once its DNS record exists). |
| 38 | ZONE_S3_ENDPOINT=https://s3.openvibe.media |
| 39 | # The zones one project environment may hold besides its default. |
| 40 | #ZONE_MAX_PER_ENV=20 |
| 41 |