Skip to content

Commit ede5c45

Browse files
committed
ops: use web service for workers to allow health check
1 parent deab3e7 commit ede5c45

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

render.yaml

+21-21
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ services:
7070
- fromGroup: logfire-server
7171

7272
# Workers
73-
- type: pserv
73+
- type: web # Use a web service to allow health checks
7474
name: worker
7575
runtime: image
7676
image:
@@ -117,13 +117,13 @@ services:
117117
property: port
118118
- key: POLAR_REDIS_DB
119119
value: 0
120-
- fromGroup: google-production
121-
- fromGroup: github-production
122-
- fromGroup: backend-production
123-
- fromGroup: stripe-production
124-
- fromGroup: logfire-worker
120+
# - fromGroup: google-production
121+
# - fromGroup: github-production
122+
# - fromGroup: backend-production
123+
# - fromGroup: stripe-production
124+
# - fromGroup: logfire-worker
125125

126-
- type: pserv
126+
- type: web # Use a web service to allow health checks
127127
name: worker-github
128128
runtime: image
129129
image:
@@ -170,10 +170,10 @@ services:
170170
property: port
171171
- key: POLAR_REDIS_DB
172172
value: 0
173-
- fromGroup: google-production
174-
- fromGroup: github-production
175-
- fromGroup: backend-production
176-
- fromGroup: stripe-production
173+
# - fromGroup: google-production
174+
# - fromGroup: github-production
175+
# - fromGroup: backend-production
176+
# - fromGroup: stripe-production
177177

178178
- type: redis
179179
name: redis
@@ -249,7 +249,7 @@ services:
249249
- fromGroup: stripe-sandbox
250250

251251
# Workers
252-
- type: pserv
252+
- type: web # Use a web service to allow health checks
253253
name: worker-sandbox
254254
runtime: image
255255
image:
@@ -294,12 +294,12 @@ services:
294294
property: port
295295
- key: POLAR_REDIS_DB
296296
value: 1
297-
- fromGroup: google-sandbox
298-
- fromGroup: github-sandbox
299-
- fromGroup: backend-sandbox
300-
- fromGroup: stripe-sandbox
297+
# - fromGroup: google-sandbox
298+
# - fromGroup: github-sandbox
299+
# - fromGroup: backend-sandbox
300+
# - fromGroup: stripe-sandbox
301301

302-
- type: pserv
302+
- type: web # Use a web service to allow health checks
303303
name: worker-github-sandbox
304304
runtime: image
305305
image:
@@ -344,10 +344,10 @@ services:
344344
property: port
345345
- key: POLAR_REDIS_DB
346346
value: 1
347-
- fromGroup: google-sandbox
348-
- fromGroup: github-sandbox
349-
- fromGroup: backend-sandbox
350-
- fromGroup: stripe-sandbox
347+
# - fromGroup: google-sandbox
348+
# - fromGroup: github-sandbox
349+
# - fromGroup: backend-sandbox
350+
# - fromGroup: stripe-sandbox
351351

352352
databases:
353353
- name: db

0 commit comments

Comments
 (0)