# S3 config to host bundles
# !!Following values are supabase default, you must change them to secure your instance!!
S3_ENDPOINT=localhost:54321/storage/v1/s3
S3_REGION=local
S3_SSL=false
S3_ACCESS_KEY_ID=625729a08b95bf1b7ff351a663f3a23c
S3_SECRET_ACCESS_KEY=850181e4652dd023b7a98c58ae0d2d34bd487ee0cc3254aed6eda37307425907
S3_BUCKET=capgo
# To override the default supabase database URL
# The rest of Supabase config are auto provided by supabase CLI
# MAIN_SUPABASE_DB_URL=postgresql://postgres:postgres@127.0.0.1:54322/postgres
# For services to call each others securely
API_SECRET=testsecret
# For redirect from Tools, not used in self-hosted
WEBAPP_URL=http://localhost:5173
# For redirect from Tools, not used in self-hosted
LANDING_URL=https://capgo.app
CF_ACCOUNT_ANALYTICS_ID=***
CF_ANALYTICS_TOKEN=***
# To ignore apps that can be used with the API
LIMITED_APPS=[{"id": "***.**.**", "ignore": 1}]
# Stripe
STRIPE_WEBHOOK_SECRET=test
STRIPE_SECRET_KEY=test
# Sentry if omitted, errors will not be sent
SENTRY_DSN=
# Bento to connect email service and send marketing and transactional emails
BENTO_PUBLISHABLE_KEY=
BENTO_SECRET_KEY=
BENTO_SITE_UUID=

# Do not use background functions in Edge Runtime as it break tests
CAPGO_PREVENT_BACKGROUND_FUNCTIONS=true

# Supabase Management API (for SSO/SAML provider management via Management API)
# Generate at: https://supabase.com/dashboard/account/tokens
SB_MANAGEMENT_API_TOKEN=your-management-api-token-here
