-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
65 lines (63 loc) · 1.8 KB
/
render.yaml
File metadata and controls
65 lines (63 loc) · 1.8 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
# Render blueprint — one-click deploy for the two demo Python services.
#
# 1. Push this repo to GitHub.
# 2. In Render, "New" → "Blueprint" and select the repo.
# 3. Render creates `tap-producer` and `tap-runner`.
# 4. Fill in the secrets marked `sync: false` (they're never written here).
# 5. Update TAP_PUBLIC_URL on the producer with its onrender.com URL once
# Render allocates one. Same for TAP_PRODUCER_URL on the runner.
#
# Frontend is on Vercel — see demo/frontend/.env.example.
services:
- type: web
name: tap-producer
runtime: docker
plan: starter
region: oregon
dockerfilePath: ./Dockerfile
dockerContext: .
dockerCommand: sh -c 'uvicorn demo.producer:app --host 0.0.0.0 --port ${PORT}'
healthCheckPath: /healthz
envVars:
- key: PORT
value: "10000"
- key: GEMINI_API_KEY
sync: false
- key: TAP_PRODUCER_KEYPAIR
sync: false
- key: TAP_PRODUCER_USDC
sync: false
- key: TAP_RPC
sync: false
- key: TAP_PUBLIC_URL
sync: false
- type: web
name: tap-runner
runtime: docker
plan: starter
region: oregon
dockerfilePath: ./Dockerfile
dockerContext: .
dockerCommand: sh -c 'uvicorn demo.runner:app --host 0.0.0.0 --port ${PORT}'
healthCheckPath: /healthz
envVars:
- key: PORT
value: "10000"
- key: TAP_CONSUMER_KEYPAIR
sync: false
- key: TAP_PRODUCER_PUBKEY
sync: false
- key: TAP_PRODUCER_USDC
sync: false
- key: TAP_PRODUCER_URL
sync: false
- key: TAP_RPC
sync: false
- key: TAP_NETWORK
value: solana-devnet
- key: TAP_ACCESS_CODE
sync: false
- key: TAP_CORS_ORIGIN
sync: false
- key: TAP_MAX_DEPOSIT_MICRO
value: "200000"