-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
72 lines (70 loc) · 2.48 KB
/
Copy pathrender.yaml
File metadata and controls
72 lines (70 loc) · 2.48 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
72
# Render free-plan note: Background Worker services aren't available on the
# free plan, so the Celery worker runs inside the same container as the API
# (see backend/Dockerfile's CMD) instead of as a separate `type: worker`
# service. If you upgrade to a paid plan, you can split it back out by
# re-adding a `type: worker` service here with:
# dockerCommand: celery -A app.celery_app worker --loglevel=info --concurrency=2
# and removing the `& exec` combination from the Dockerfile's CMD.
services:
# FastAPI HTTP + WebSocket service. Also runs the Celery worker in the
# background of the same container -- see the Dockerfile CMD.
- type: web
name: counterpoint-engine-api
runtime: docker
plan: free
dockerfilePath: ./backend/Dockerfile
dockerContext: ./backend
healthCheckPath: /api/health
envVars:
- key: GROQ_API_KEY
sync: false
- key: GROQ_ORCHESTRATOR_MODEL
value: openai/gpt-oss-120b
- key: GROQ_CRITIC_MODEL
value: openai/gpt-oss-120b
- key: GROQ_EXTRACTION_MODEL
value: llama-3.1-8b-instant
- key: REDIS_URL
fromService:
name: counterpoint-engine-redis
type: redis
property: connectionString
- key: NEO4J_URI
sync: false
- key: NEO4J_USER
sync: false
- key: NEO4J_PASSWORD
sync: false
- key: NEO4J_DATABASE
value: neo4j
- key: QDRANT_URL
sync: false
- key: QDRANT_API_KEY
sync: false
- key: QDRANT_COLLECTION
value: counterpoint_evidence
- key: ENVIRONMENT
value: production
- key: CORS_ORIGINS
sync: false
- key: LOG_LEVEL
value: INFO
- key: MAX_RESEARCH_CYCLES
value: "3"
- key: CONFIDENCE_THRESHOLD
value: "0.8"
- key: SCRAPE_TIMEOUT_SECONDS
value: "20"
- key: SCRAPE_MAX_RESULTS
# Confirmed by production OOM crashes (not a guess): raising this to
# 6 alongside concurrent fetching pushed the free instance over its
# 512MB ceiling. Reverted to the proven-stable value. Page fetches
# now block images/fonts/media/CSS at the network layer, which does
# help, but not enough to afford both a higher count AND
# concurrency at once -- raise this incrementally on a real
# instance if you want to push it, not both knobs at the same time.
value: "4"
- type: redis
name: counterpoint-engine-redis
plan: free
ipAllowList: []