39 lines
1.6 KiB
Bash
39 lines
1.6 KiB
Bash
# Server
|
|
SERVER_HOST=127.0.0.1
|
|
SERVER_PORT=2892
|
|
SERVER_ALLOW_ORIGINS= # Optional comma-separated allowed CORS origins; empty = permissive
|
|
SERVER_ADMIN_PUBKEYS= # Comma-separated hex pubkeys with admin access
|
|
|
|
# Database
|
|
DATABASE_URL=sqlite://data/caravel.db
|
|
|
|
# Robot identity (published as kind 0)
|
|
ROBOT_SECRET= # Nostr private key (hex)
|
|
ROBOT_NAME=
|
|
ROBOT_DESCRIPTION=
|
|
ROBOT_PICTURE=
|
|
ROBOT_WALLET= # Nostr Wallet Connect URL for generating Lightning invoices
|
|
ROBOT_OUTBOX_RELAYS=wss://relay.damus.io,wss://relay.primal.net,wss://nos.lol
|
|
ROBOT_INDEXER_RELAYS=wss://purplepag.es,wss://relay.damus.io,wss://indexer.coracle.social
|
|
ROBOT_MESSAGING_RELAYS=wss://auth.nostr1.com,wss://relay.keychat.io,wss://relay.ditto.pub
|
|
|
|
# Zooid
|
|
ZOOID_API_URL=http://127.0.0.1:3334
|
|
RELAY_DOMAIN=spaces.coracle.social
|
|
LIVEKIT_URL=
|
|
LIVEKIT_API_KEY=
|
|
LIVEKIT_API_SECRET=
|
|
|
|
# Blossom S3 (optional; when region, bucket, access key, and secret are all set, relays with blossom enabled sync with adapter s3 and key_prefix = relay schema)
|
|
BLOSSOM_S3_ENDPOINT=
|
|
BLOSSOM_S3_REGION=
|
|
BLOSSOM_S3_BUCKET=
|
|
BLOSSOM_S3_ACCESS_KEY=
|
|
BLOSSOM_S3_SECRET_KEY=
|
|
|
|
# Billing
|
|
STRIPE_SECRET_KEY= # Required Stripe API secret key (sk_...)
|
|
STRIPE_WEBHOOK_SECRET=whsec_test_00000000000000000000000000 # Webhook signing secret (use real value in production)
|
|
STRIPE_PRICE_BASIC= # Stripe price ID (price_...) for the Basic plan; required for paid plans
|
|
STRIPE_PRICE_GROWTH= # Stripe price ID (price_...) for the Growth plan; required for paid plans
|