-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrender.yaml
46 lines (46 loc) · 1.31 KB
/
render.yaml
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
services:
- type: web
name: server
region: ohio
env: docker
dockerfilePath: ./backend/Server.Dockerfile
envVars:
- key: CELERY_BROKER_URL
fromService:
name: celery-redis
type: redis
property: connectionString
- fromGroup: conf-settings
- type: worker
name: celery-worker
region: ohio
env: docker
dockerfilePath: ./backend/Worker.Dockerfile
envVars:
- key: CELERY_BROKER_URL
fromService:
name: celery-redis
type: redis
property: connectionString
- fromGroup: conf-settings
- type: redis
name: celery-redis
region: ohio
plan: starter # we choose a plan with persistence to ensure tasks are not lost upon restart
maxmemoryPolicy: noeviction # recommended policy for queues
ipAllowList: [] # only allow internal connections
envVarGroups:
- name: conf-settings
envVars:
- key: IS_TESTING
sync: false # will be user provided
- key: ALCHEMY_KEY
sync: false # will be user provided
- key: AWS_ACCESS_KEY
sync: false # will be user provided
- key: AWS_SECRET_KEY
sync: false # will be user provided
- key: DATABASE_URL
sync: false # will be user provided
- key: LOGTAIL_SOURCE_TOKEN
sync: false # will be user provided