@@ -68,6 +68,7 @@ services:
68
68
- fromGroup : backend-production
69
69
- fromGroup : stripe-production
70
70
- fromGroup : logfire-server
71
+ - fromGroup : openai-production
71
72
72
73
# Worker
73
74
- type : web # Use a web service to allow health checks
@@ -125,6 +126,7 @@ services:
125
126
- fromGroup : stripe-production
126
127
- fromGroup : logfire-worker
127
128
- fromGroup : aws-s3-production
129
+ - fromGroup : openai-production
128
130
129
131
- type : redis
130
132
name : redis
@@ -198,6 +200,7 @@ services:
198
200
- fromGroup : github-sandbox
199
201
- fromGroup : backend-sandbox
200
202
- fromGroup : stripe-sandbox
203
+ - fromGroup : openai-sandbox
201
204
202
205
# Worker
203
206
- type : web # Use a web service to allow health checks
@@ -252,6 +255,7 @@ services:
252
255
- fromGroup : backend-sandbox
253
256
- fromGroup : stripe-sandbox
254
257
- fromGroup : aws-s3-sandbox
258
+ - fromGroup : openai-sandbox
255
259
256
260
databases :
257
261
- name : db
@@ -272,6 +276,11 @@ envVarGroups:
272
276
- key : POLAR_GOOGLE_CLIENT_SECRET
273
277
sync : false
274
278
279
+ - name : openai-production
280
+ envVars :
281
+ - key : POLAR_OPENAI_API_KEY
282
+ sync : false
283
+
275
284
- name : backend-production
276
285
envVars :
277
286
- key : POLAR_USER_SESSION_COOKIE_DOMAIN
@@ -381,6 +390,11 @@ envVarGroups:
381
390
- key : POLAR_GOOGLE_CLIENT_SECRET
382
391
sync : false
383
392
393
+ - name : openai-sandbox
394
+ envVars :
395
+ - key : POLAR_OPENAI_API_KEY
396
+ sync : false
397
+
384
398
- name : backend-sandbox
385
399
envVars :
386
400
- key : POLAR_USER_SESSION_COOKIE_KEY
0 commit comments