-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
31 lines (31 loc) · 997 Bytes
/
render.yaml
File metadata and controls
31 lines (31 loc) · 997 Bytes
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
services:
- type: worker
name: brain-bloom-celery-worker
env: python
buildCommand: "pip install -r requirements.txt --index-url https://download.pytorch.org/whl/cpu"
startCommand: "celery -A myproject worker --loglevel=info"
envVars:
- key: DATABASE_URL
fromDatabase:
name: brain-bloom
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: brain-bloom-redis
property: connectionString
- type: worker
name: brain-bloom-celery-beat
env: python
buildCommand: "pip install -r requirements.txt --index-url https://download.pytorch.org/whl/cpu"
startCommand: "celery -A myproject beat --loglevel=info"
envVars:
- key: DATABASE_URL
fromDatabase:
name: brain-bloom
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: brain-bloom-redis
property: connectionString