-
Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy pathrender.yaml
More file actions
70 lines (57 loc) · 2.54 KB
/
render.yaml
File metadata and controls
70 lines (57 loc) · 2.54 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
services:
- type: web
name: flowfi-backend
env: node
entrypoint: npm run start
rootDir: backend
autoDeploy: true
buildCommand: npm install && npm run prisma:generate && npm run build
startCommand: npm run prisma:deploy && npm run start
healthCheckPath: /health
envVars:
- key: NODE_VERSION
value: 20
- key: NODE_ENV
value: production
- key: PORT
value: "3001"
- key: DATABASE_URL
fromDatabase:
name: flowfi-postgres
property: connectionString
- key: SANDBOX_MODE_ENABLED
value: "false"
- key: LOG_LEVEL
value: info
# ─── Required Infrastructure ──────────────────────────────────────────
- key: CORS_ALLOWED_ORIGINS
value: "https://app.flowfi.xyz,https://flowfi.xyz" # Replace with your deployed frontend origin(s)
- key: JWT_SECRET
sync: false # Sensitive: Generate with `openssl rand -hex 32` and set in dashboard
# ─── Stellar / Soroban (Required for core features) ───────────────────
- key: STELLAR_NETWORK
value: testnet # testnet or mainnet
- key: SOROBAN_RPC_URL
value: https://soroban-testnet.stellar.org
- key: STREAM_CONTRACT_ID
value: "" # REQUIRED: Set to your deployed contract ID (starts with C...)
- key: KEEPER_SECRET_KEY
sync: false # Sensitive: Stellar secret key (S...) for signing on-chain top-ups
- key: SOROBAN_SECRET_KEY
sync: false # Sensitive: Stellar secret key (S...) for signing on-chain cancel actions
# ─── Admin & Security (Required for admin endpoints) ──────────────────
- key: ADMIN_PUBLIC_KEY
value: "" # REQUIRED: Stellar public key (G...) of the authorized admin
- key: ADMIN_SECRET
sync: false # Sensitive: Bearer token for admin metrics/actions
# ─── Optional Configuration ───────────────────────────────────────────
- key: REDIS_URL
value: "" # Optional: Enable horizontal scaling for SSE via Redis
- key: INDEXER_POLL_INTERVAL_MS
value: "5000"
- key: INDEXER_START_LEDGER
value: "0" # 0 = start from latest ledger
databases:
- name: flowfi-postgres
databaseName: flowfi
user: flowfi