openvibers/openvibe.casino .env.example

.env.example

main 1.9 KB · 46 lines · plaintext

1# OpenVibe.Casino — environment (production: /etc/openvibe/casino.env). Names only; never commit values.
2
3NODE_ENV=production
4PORT=5210
5HOST=127.0.0.1
6BASE_URL=https://openvibe.casino
7TRUST_PROXY=2
8# PostgreSQL (ADR-035), written by OpenVibe.Host roles/data/add-service.sh: 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:casino:
15# Per-actor limits (server/http/api.js) and per-address limits (server/app.js).
16#CASINO_LIMITS_MINUTE=120
17#CASINO_LIMITS_HOUR=3000
18#CASINO_API_RATE_LIMIT_PER_MIN=240
19#CASINO_RATE_LIMIT_PER_MIN=300
20
21# OpenVibe.Network: SSO (OAuth client `casino`, PKCE S256) and its JWKS; app tokens for audience openvibe.casino.
22OV_NETWORK_URL=https://openvibe.network
23OV_NETWORK_INTERNAL_URL=http://127.0.0.1:4000
24# OV_NETWORK_ISSUER=https://openvibe.network
25OV_OAUTH_CLIENT_ID=casino
26OV_OAUTH_CLIENT_SECRET=
27# OV_OAUTH_REDIRECT_URI=https://openvibe.casino/auth/callback
28# CASINO_AUDIENCE=openvibe.casino
29# OV_SESSION_AUDIENCE=openvibe.network
30# CASINO_PGLITE_DIR=./data/pglite
31
32# OpenVibe.Events: account export/deletion deliveries to POST /internal/events. The secret signs a delivery
33# (comma-separated for rotation, 32+ characters each; unset makes the route answer 503).
34CASINO_EVENTS_SECRET=
35CASINO_EVENTS_URL=
36#CASINO_EVENTS_ENDPOINT=http://127.0.0.1:5210/internal/events
37#CASINO_EVENTS_INTERVAL_MS=5000
38
39# Simulations run on the server (POST /api/v1/simulate): the most rounds one may ask for, and how many an address may
40# run a minute. The simulator page runs in the visitor's browser and has neither limit.
41#CASINO_SIM_MAX_ROUNDS=200000
42#CASINO_SIM_PER_MINUTE=6
43
44# Drill mode (a restore drill): no subscriptions, no outbound calls at boot.
45#CASINO_DRILL=1
46