forked from Trustless-OSS/Toss-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (30 loc) · 1.37 KB
/
Copy path.env.example
File metadata and controls
35 lines (30 loc) · 1.37 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
NODE_ENV=development
PORT=5000
LOG_LEVEL=info
# Infrastructure
DATABASE_URL=postgres://postgres:postgres@localhost:5435/trustless_oss
REDIS_URL=redis://localhost:6379
# Auth / GitHub
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_PUBLISHABLE_KEY=your-supabase-publishable-key
GITHUB_APP_ID=123456
GITHUB_APP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----"
# Optional: only needed for GitHub issue-state fetch paths.
# GITHUB_BOT_TOKEN=ghp_your_bot_token
GITHUB_WEBHOOK_SECRET=your-webhook-secret
# Stellar / Trustless Work
STELLAR_NETWORK=testnet
PLATFORM_STELLAR_SECRET_KEY=SCXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
PLATFORM_STELLAR_PUBLIC_KEY=GCXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
DISPUTE_RESOLVER_STELLAR_SECRET_KEY=SCXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
DISPUTE_RESOLVER_STELLAR_PUBLIC_KEY=GCXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
TRUSTLESS_WORK_API_KEY=your-trustless-work-api-key
TRUSTLESS_WORK_BASE_URL=https://dev.api.trustlesswork.com
# App URLs
APP_URL=http://localhost:3000
WEBHOOK_URL=http://localhost:5000/api/webhooks/github
# Development-only GitHub webhook relay
DEV_WEBHOOK_PROXY_ENABLED=true
SMEE_SOURCE_URL=https://smee.io/trustless-oss-dev-webhook
# Defaults to http://127.0.0.1:${PORT}/api/webhooks/github when omitted.
SMEE_TARGET_URL=http://127.0.0.1:5000/api/webhooks/github