openvibers/openvibe.zone .env.example

.env.example

main 1.9 KB · 41 lines · plaintext

1# OpenVibe.Zone — environment (production: /etc/openvibe/zone.env). Names only; never commit values.
2
3NODE_ENV=production
4PORT=5050
5HOST=127.0.0.1
6BASE_URL=https://openvibe.zone
7TRUST_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.
11DATABASE_URL=
12DATABASE_DIRECT_URL=
13VALKEY_URL=
14VALKEY_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>).
20OV_NETWORK_URL=https://openvibe.network
21OV_NETWORK_INTERNAL_URL=http://127.0.0.1:4000
22OV_OAUTH_CLIENT_ID=zone
23OV_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).
32MEDIA_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.
35EVENTS_URL=
36ZONE_EVENTS_SECRET=
37# The S3 endpoint the console and the docs name (s3.openvibe.media once its DNS record exists).
38ZONE_S3_ENDPOINT=https://s3.openvibe.media
39# The zones one project environment may hold besides its default.
40#ZONE_MAX_PER_ENV=20
41