openvibers/openvibe.rent .env.example

.env.example

main 2.3 KB · 48 lines · plaintext

1# OpenVibe.Rent — environment (production: /etc/openvibe/rent.env). Names only; never commit values.
2
3NODE_ENV=production
4PORT=5010
5HOST=127.0.0.1
6BASE_URL=https://openvibe.rent
7# IndexNow: with a key (8–128 letters and digits), pages Search gains or changes are sent to search engines and the
8# key is served at /<key>.txt. Unset: off.
9#INDEXNOW_KEY=
10TRUST_PROXY=2
11# PostgreSQL (ADR-035), written by OpenVibe.Host roles/data/add-service.sh rent: the runtime role through PgBouncer,
12# the owner on a direct connection (migrations), and Valkey (shared limit counters).
13# Without DATABASE_URL, development uses an embedded PGlite database in data/pglite.
14DATABASE_URL=
15DATABASE_DIRECT_URL=
16# development only: where the embedded PGlite database lives (default data/pglite)
17#RENT_PGLITE_DIR=
18VALKEY_URL=
19VALKEY_PREFIX=ov:rent:
20# Per-caller limits (server/http/caller-limits.js): requests one caller may make to the API per minute and per hour.
21#RENT_LIMITS_MINUTE=120
22#RENT_LIMITS_HOUR=3000
23# Requests one address may make to the API and to the pages per minute (server/app.js). The product's own budgets
24# for posting, reporting, renewing and saving a search are in server/http/caller-limits.js, not here.
25#RENT_API_RATE_LIMIT_PER_MIN=240
26#RENT_RATE_LIMIT_PER_MIN=300
27
28# OpenVibe.Network: SSO (OAuth client `rent`, PKCE S256) and its JWKS; app tokens for audience openvibe.rent.
29OV_NETWORK_URL=https://openvibe.network
30OV_NETWORK_INTERNAL_URL=http://127.0.0.1:4000
31OV_OAUTH_CLIENT_ID=rent
32OV_OAUTH_CLIENT_SECRET=
33# OV_OAUTH_REDIRECT_URI=https://openvibe.rent/auth/callback
34# RENT_AUDIENCE=openvibe.rent
35
36# OpenVibe.Events → Rent (ADR-033 account export and deletion): the secret signs a delivery (comma-separated for
37# rotation, 32+ characters each; unset makes POST /internal/events answer 503); the url is where the two subscriptions
38# are created at boot (off when unset); RENT_EVENTS_SUBSCRIBE=0 turns that off.
39RENT_EVENTS_SECRET=
40RENT_EVENTS_URL=
41# OpenVibe.AI for the listing screen (server/listings/screen.js): each posted or edited listing is screened for the signs of a
42# rental scam, for staff (needs OV_OAUTH_CLIENT_SECRET too). Unset: off.
43#OV_AI_INTERNAL_URL=http://127.0.0.1:4700
44#RENT_EVENTS_ENDPOINT=http://127.0.0.1:5010/internal/events
45
46# optional: defaults to true in production
47# COOKIE_SECURE=true
48