Repository navigation
Expand file tree
/
Copy path.env.production.example
More file actions
71 lines (57 loc) · 2.68 KB
/
Copy path.env.production.example
File metadata and controls
71 lines (57 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Zoneless Production Configuration
# Copy this file to .env.production and fill in the values.
#
# Start with:
# npm run prod
# Your public-facing dashboard URL
DASHBOARD_URL=https://pay.yourdomain.com
# Optional dedicated checkout origin (e.g. https://checkout.yourdomain.com).
# Leave empty (or equal to DASHBOARD_URL) for single-domain self-hosting —
# checkout stays at https://pay.yourdomain.com/c/:id.
# When set, session links use https://checkout…/c/:id (same path either way).
CHECKOUT_URL=
# Optional dedicated payment-link origin (e.g. https://pay.yourdomain.com).
# Leave empty to use CHECKOUT_URL (or DASHBOARD_URL) at /b/:id.
PAYMENT_LINK_URL=
# MongoDB connection string.
# Leave empty to use the built-in containerized MongoDB (fine for small deployments).
# For production, use a managed service like MongoDB Atlas:
# mongodb+srv://user:pass@cluster.mongodb.net/zoneless?retryWrites=true&w=majority
MONGODB_URI=
# Secret key for signing JWTs and encrypting data.
# Generate one with: openssl rand -hex 64
# If left empty, one is auto-generated and stored in the database.
APP_SECRET=
# Single-tenant mode: only one platform can be created.
# Set to true for self-hosted deployments.
SINGLE_TENANT=true
# Operator mode (managed hosting): set a long random secret to enable.
# Generate one with: openssl rand -hex 32
# When set, public setup is disabled and platforms are provisioned via the
# /v1/operator API. Implies multi-tenant mode (SINGLE_TENANT is ignored).
OPERATOR_API_KEY=
# Solana RPC endpoint (required for live / on-chain settlement)
# e.g. https://api.mainnet-beta.solana.com or a Helius/QuickNode URL
SOLANA_RPC_URL=
# LIVEMODE=true uses Solana mainnet (real USDC). Unset/false is test mode
# with simulated funds by default.
LIVEMODE=true
# Test mode settlement: simulated (default) or onchain (Solana Devnet).
# Invalid when LIVEMODE=true.
# SETTLEMENT_RAIL=onchain
# Base58 secret key that owns on-chain subscription plans and signs pulls.
# Required to create recurring prices. Must match the owner used when plans
# were first created.
# SUBSCRIPTION_OPERATOR_KEY=
# Optional base58 secret key that sponsors Solana checkout network fees / rent.
# When set, buyers only co-sign; the API cosigns and broadcasts.
# When unset, buyers pay fees via wallet signAndSend.
# TRANSACTION_FEE_PAYER_KEY=
# Subscription billing: leave the in-process poller off for Cloud Run.
# Trigger POST /v1/billing/run from Cloud Scheduler with x-operator-key,
# or POST /v1/billing/run_for_platform with a platform API key.
# BILLING_MONITOR_ENABLED=false
# BILLING_POLL_INTERVAL_MS=60000
# Anonymous usage telemetry (opt-in via setup/settings; off by default).
# Set to 0 to force disable.
# ZONELESS_TELEMETRY=