-
-
Notifications
You must be signed in to change notification settings - Fork 187
Expand file tree
/
Copy path.env.example
More file actions
63 lines (50 loc) · 1.75 KB
/
Copy path.env.example
File metadata and controls
63 lines (50 loc) · 1.75 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
FRONTEND_HOST=http://localhost:8082
API_HOST="http://localhost:3000"
PAYPAL_HOST="https://api.sandbox.paypal.com"
SLACK_WEBHOOK_URL=
FACEBOOK_ID=123
FACEBOOK_SECRET=123
SENDGRID_API_KEY=
GOOGLE_ID=123
GOOGLE_SECRET=123
GITHUB_ID=123
GITHUB_SECRET=123
BITBUCKET_ID=123
BITBUCKET_SECRET=123
MAILCHIMP_API_KEY=
MAILCHIMP_LIST_ID=
## Slack app with channels:read permission
SLACK_TOKEN=
SLACK_CHANNEL_ID=
SLACK_CHANNEL_INVITE_LINK=
SECRET_PHRASE=123
## Payment connector: stripe (default) | whop
PAYMENT_PROVIDER=stripe
STRIPE_KEY=
STRIPE_PUBKEY=
STRIPE_WEBHOOK_SECRET_PLATFORM=
STRIPE_WEBHOOK_SECRET_CONNECT=
## Whop (used when PAYMENT_PROVIDER=whop)
## Webhook URL: {API_HOST}/webhooks/whop
## API key needs company:balance:read (and company/payment/transfer scopes) for account_links onboarding.
## See docs/payments-providers.md — use Admin while integrating if unsure.
WHOP_API_KEY=
WHOP_WEBHOOK_SECRET=
WHOP_COMPANY_ID=
WHOP_APP_ID=
# WHOP_SANDBOX=true
# WHOP_API_BASE_URL=https://sandbox-api.whop.com/api/v1
# Required for local Whop browser redirects (account_links + bounty checkout return):
# public https origin of the API (not the frontend SPA). Backend bounces to FRONTEND_HOST.
# Local: ngrok http 3000 → set WHOP_API_HOST to that https URL; keep FRONTEND_HOST=http://localhost:8082
# Example: WHOP_API_HOST=https://hesitant-hardy-foothold.ngrok-free.dev
# WHOP_API_HOST=https://your-api-tunnel.example.com
# Legacy alias (same purpose as WHOP_API_HOST):
# WHOP_FRONTEND_HOST=https://your-api-tunnel.example.com
# Whop chargeback fee in cents (default 1500 = $15) for PR balance debits
# WHOP_DISPUTE_FEE_CENTS=1500
GOOGLE_RECAPTCHA_SITE_KEY=
## Docker compose - local environment settings.
POSTGRES_PASSWORD=postgres
POSTGRES_DB=gitpay_dev
POSTGRES_PORT=5432