-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathrender.yaml
More file actions
107 lines (102 loc) · 2.74 KB
/
render.yaml
File metadata and controls
107 lines (102 loc) · 2.74 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
databases:
- name: pingcrm-postgres
plan: basic-256mb
databaseName: pingcrm
user: pingcrm
postgresMajorVersion: "16"
services:
- type: redis
name: pingcrm-redis
plan: free
ipAllowList: [] # only accessible from Render services in this account
- type: web
name: pingcrm-backend
runtime: docker
dockerfilePath: ./backend/Dockerfile
dockerContext: ./backend
plan: starter
healthCheckPath: /api/health
envVars:
- key: DATABASE_URL
fromDatabase:
name: pingcrm-postgres
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: pingcrm-redis
property: connectionString
- key: SECRET_KEY
generateValue: true
- key: ENCRYPTION_KEY
generateValue: true
- key: ENVIRONMENT
value: production
- key: ANTHROPIC_API_KEY
sync: false
- key: GOOGLE_CLIENT_ID
sync: false
- key: GOOGLE_CLIENT_SECRET
sync: false
- key: GOOGLE_REDIRECT_URI
sync: false
- key: TWITTER_CLIENT_ID
sync: false
- key: TWITTER_CLIENT_SECRET
sync: false
- key: TELEGRAM_API_ID
sync: false
- key: TELEGRAM_API_HASH
sync: false
- key: CORS_ORIGINS
sync: false # set to your frontend URL, e.g. https://pingcrm-frontend.onrender.com
- type: worker
name: pingcrm-worker
runtime: docker
dockerfilePath: ./backend/Dockerfile
dockerContext: ./backend
dockerCommand: celery -A worker.celery_app worker --beat --loglevel=info
plan: starter
envVars:
- key: DATABASE_URL
fromDatabase:
name: pingcrm-postgres
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: pingcrm-redis
property: connectionString
- fromGroup: pingcrm-shared
- type: web
name: pingcrm-frontend
runtime: docker
dockerfilePath: ./frontend/Dockerfile
dockerContext: ./frontend
plan: starter
envVars:
- key: NEXT_PUBLIC_API_URL
sync: false # set to your backend URL, e.g. https://pingcrm-backend.onrender.com
envVarGroups:
- name: pingcrm-shared
envVars:
- key: SECRET_KEY
generateValue: true
- key: ENCRYPTION_KEY
generateValue: true
- key: ENVIRONMENT
value: production
- key: ANTHROPIC_API_KEY
sync: false
- key: GOOGLE_CLIENT_ID
sync: false
- key: GOOGLE_CLIENT_SECRET
sync: false
- key: TWITTER_CLIENT_ID
sync: false
- key: TWITTER_CLIENT_SECRET
sync: false
- key: TELEGRAM_API_ID
sync: false
- key: TELEGRAM_API_HASH
sync: false