openvibers/openvibe.inventory .env.example
.env.example
| 1 | # OpenVibe.Inventory — environment (production: /etc/openvibe/inventory.env). Names only; never commit values. |
| 2 | |
| 3 | NODE_ENV=production |
| 4 | PORT=5030 |
| 5 | HOST=127.0.0.1 |
| 6 | BASE_URL=https://inventory.openvibe.network |
| 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= |
| 10 | TRUST_PROXY=2 |
| 11 | # PostgreSQL (ADR-035), written by OpenVibe.Host roles/data/add-service.sh inventory: 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. |
| 14 | DATABASE_URL= |
| 15 | DATABASE_DIRECT_URL= |
| 16 | VALKEY_URL= |
| 17 | VALKEY_PREFIX=ov:inventory: |
| 18 | # Per-caller limits (server/http/caller-limits.js): requests one caller may make to the API per minute and per hour. |
| 19 | #INVENTORY_LIMITS_MINUTE=120 |
| 20 | #INVENTORY_LIMITS_HOUR=3000 |
| 21 | |
| 22 | # OpenVibe.Network: SSO (OAuth client `inventory`, PKCE S256) and its JWKS; app tokens for audience openvibe.inventory (Network's rule: openvibe.<service>). |
| 23 | OV_NETWORK_URL=https://openvibe.network |
| 24 | OV_NETWORK_INTERNAL_URL=http://127.0.0.1:4000 |
| 25 | OV_OAUTH_CLIENT_ID=inventory |
| 26 | OV_OAUTH_CLIENT_SECRET= |
| 27 | # OV_OAUTH_REDIRECT_URI=https://inventory.openvibe.network/auth/callback |
| 28 | # INVENTORY_AUDIENCE=openvibe.inventory |
| 29 | |
| 30 | # optional: defaults to true in production |
| 31 | # COOKIE_SECURE=true |
| 32 | |
| 33 | # OpenVibe.Events: the outbox relay publishes inventory.item.* and inventory.definition.published when EVENTS_URL and |
| 34 | # OV_OAUTH_CLIENT_SECRET are set (otherwise events wait in event_outbox). INVENTORY_EVENTS_SECRET signs the deliveries |
| 35 | # to POST /internal/events (account export and deletion; comma-separated for rotation, 32+ characters each). Unset: the |
| 36 | # route answers 503 and no subscription is created. |
| 37 | #EVENTS_URL=http://127.0.0.1:4300 |
| 38 | #EVENTS_RELAY_INTERVAL_MS=2000 |
| 39 | #INVENTORY_EVENTS_SECRET= |
| 40 | |
| 41 | # The Workshop's images use this service's Network service token for its own tenant in OpenVibe.Media. |
| 42 | # Grant [inventory, media.object.upload, openvibe.media] on namespace inventory in Network. Without |
| 43 | # OV_OAUTH_CLIENT_SECRET, the Workshop says image uploads are not set up yet. |
| 44 | #OV_MEDIA_INTERNAL_URL=http://127.0.0.1:4100 |
| 45 |