-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
49 lines (46 loc) · 1.58 KB
/
Copy pathrender.yaml
File metadata and controls
49 lines (46 loc) · 1.58 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
services:
# ── Redis ──────────────────────────────────────────────────────
- type: redis
name: tts-redis
plan: free
ipAllowList: []
# ── FastAPI API server ─────────────────────────────────────────
- type: web
name: tts-api
env: docker
dockerfilePath: tts_backend/Dockerfile
dockerContext: tts_backend
plan: free
healthCheckPath: /health
envVars:
- key: REDIS_URL
fromService:
type: redis
name: tts-redis
property: connectionString
- key: APP_ENV
value: production
- key: ELEVENLABS_API_KEY
sync: false # set this in Render dashboard
- key: TRANSLATION_PROVIDER
value: mymemory
# ── Celery worker ──────────────────────────────────────────────
- type: worker
name: tts-worker
env: docker
dockerfilePath: tts_backend/Dockerfile
dockerContext: tts_backend
plan: free
startCommand: celery -A app.workers.celery_app worker --loglevel=info --concurrency=4
envVars:
- key: REDIS_URL
fromService:
type: redis
name: tts-redis
property: connectionString
- key: APP_ENV
value: production
- key: ELEVENLABS_API_KEY
sync: false
- key: TRANSLATION_PROVIDER
value: mymemory