Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/infra/cap/.env.example
T
2026-07-08 16:15:37 +02:00

27 lines
934 B
Bash

# Cap Standalone env for staging/prod. Copy to `.env` next to the compose file,
# chmod 600, and replace every CHANGE_ME value.
CAP_IMAGE=tiago2/cap:3.1.5
ADMIN_KEY=CHANGE_ME_RANDOM_MIN_32_CHARS
REDIS_URL=redis://valkey:6379
REDIS_PREFIX=hivegrid:cap:
# Serve widget.js and WASM from the self-hosted Cap instance instead of jsDelivr.
ENABLE_ASSETS_SERVER=true
WIDGET_VERSION=0.1.56
WASM_VERSION=0.0.7
# Comma-separated browser origins allowed to generate/redeem challenges.
# Staging example:
# CORS_ORIGIN=https://staging-app.hivegrid.de,https://staging-api.hivegrid.de
# Production example:
# CORS_ORIGIN=https://app.hivegrid.de,https://admin.hivegrid.de,https://api.hivegrid.de
CORS_ORIGIN=
# Cloudflare-proxied hosts should rate-limit by the real visitor IP header.
RATELIMIT_IP_HEADER=cf-connecting-ip
# Optional diagnostics. Keep false in production unless actively debugging.
SHOW_ERRORS=false
DISABLE_ERROR_LOGGING=false