-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
45 lines (42 loc) · 1.63 KB
/
render.yaml
File metadata and controls
45 lines (42 loc) · 1.63 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
envVarGroups:
- name: docxio-shared
envVars:
- key: SECRET_KEY
generateValue: true
services:
# ─── FastAPI Application ───────────────────────────────────────────────────
- type: web
name: docxio-api
env: docker
dockerContext: ./backend
dockerfilePath: Dockerfile.backend
plan: free
envVars:
- fromGroup: docxio-shared
- key: REDIS_URL
fromService:
type: redis
name: docxio-redis
property: connectionString
- key: ALLOWED_ORIGINS
value: https://docxio.vercel.app,https://docxio-frontend.vercel.app
# ─── Celery Worker ──────────────────────────────────────────────────────────
- type: worker
name: docxio-worker
env: docker
dockerContext: ./backend
dockerfilePath: Dockerfile.backend
dockerCommand: celery -A services.job_queue.celery_app worker --loglevel=info --concurrency=2
plan: free
envVars:
- fromGroup: docxio-shared
- key: REDIS_URL
fromService:
type: redis
name: docxio-redis
property: connectionString
# ─── Redis ──────────────────────────────────────────────────────────────────
- type: redis
name: docxio-redis
ipAllowList: [] # Only allow internal connections
plan: free