openvibers/openvibe.play .env.example

.env.example

main 1.4 KB · 34 lines · plaintext

1# OpenVibe.Play — environment (production: /etc/openvibe/play.env). Names only; never commit values.
2
3NODE_ENV=production
4PORT=5040
5HOST=127.0.0.1
6BASE_URL=https://play.openvibe.network
7TRUST_PROXY=2
8# PostgreSQL (ADR-035), written by OpenVibe.Host roles/data/add-service.sh play: 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:play:
15# Per-caller limits (server/http/caller-limits.js): requests one caller may make to the API per minute and per hour.
16#PLAY_LIMITS_MINUTE=120
17#PLAY_LIMITS_HOUR=3000
18
19# OpenVibe.Network: SSO (OAuth client `play`, PKCE S256) and its JWKS; app tokens for audience openvibe.play (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=play
23OV_OAUTH_CLIENT_SECRET=
24# OV_OAUTH_REDIRECT_URI=https://play.openvibe.network/auth/callback
25# PLAY_AUDIENCE=openvibe.play
26
27# optional: defaults to true in production
28# COOKIE_SECURE=true
29
30# OpenVibe.Events: PLAY_EVENTS_SECRET signs the deliveries to POST /internal/events (account export and deletion;
31# comma-separated for rotation, 32+ characters each). Unset: the route answers 503 and no subscription is created.
32#EVENTS_URL=http://127.0.0.1:4300
33#PLAY_EVENTS_SECRET=
34