Some checks are pending
CI / Lint bridge (Biome) (push) Waiting to run
CI / Type-check bridge (push) Blocked by required conditions
CI / Tests unit bridge (push) Blocked by required conditions
CI / Tests integration bridge (push) Blocked by required conditions
CI / Security scan (push) Waiting to run
CI / Docker build + healthcheck (push) Blocked by required conditions
35 lines
963 B
Text
35 lines
963 B
Text
# Bridge service — variables d'environnement
|
|
# Copier vers .env et remplir avec valeurs reelles.
|
|
|
|
# Server
|
|
NODE_ENV=development
|
|
PORT=4000
|
|
LOG_LEVEL=debug
|
|
|
|
# Baserow API
|
|
BASEROW_API_URL=http://baserow:80/api
|
|
BASEROW_API_TOKEN=
|
|
|
|
# Docmost API
|
|
DOCMOST_API_URL=http://docmost:3000/api
|
|
DOCMOST_API_TOKEN=
|
|
|
|
# Redis (cache + idempotence webhooks)
|
|
REDIS_URL=redis://docmost-redis:6379
|
|
|
|
# Webhooks Baserow signature secret (HMAC-SHA256, header X-Baserow-Signature)
|
|
BASEROW_WEBHOOK_SECRET=
|
|
|
|
# Webhooks Docmost signature secret (HMAC-SHA256, header X-Docmost-Signature)
|
|
# Stub Bloc 7b — handlers metier viennent en Bloc 8 (Tiptap node-views)
|
|
DOCMOST_WEBHOOK_SECRET=
|
|
|
|
# Auth tokens bridge (CSV des tokens valides + scopes — Phase 2 simple)
|
|
# Format: token1:scope1,scope2;token2:scope3
|
|
# Phase 3 : migration vers DB dediee
|
|
BRIDGE_API_TOKENS=
|
|
|
|
# Rate limiting (par token + endpoint)
|
|
RATE_LIMIT_READ_PER_MIN=600
|
|
RATE_LIMIT_WRITE_PER_MIN=60
|
|
RATE_LIMIT_WEBHOOK_PER_MIN=1000
|