Skip to content

Commit 9535358

Browse files
committed
Fix realtime tenant name
1 parent e7d1c06 commit 9535358

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.diploi/helm/realtime.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
- name: API_JWT_SECRET
3030
value: {{ .Values.envMap.JWT_SECRET.value | quote }}
3131
- name: APP_NAME
32-
value: realtime
32+
value: {{ .Values.envMap.REALTIME_TENANT_NAME.value | quote }}
3333
- name: DB_AFTER_CONNECT_QUERY
3434
value: 'SET search_path TO _realtime'
3535
- name: DB_ENC_KEY
@@ -58,6 +58,8 @@ spec:
5858
value: {{ .Values.envMap.SECRET_KEY_BASE.value | quote }}
5959
- name: SEED_SELF_HOST
6060
value: 'true'
61+
- name: SELF_HOST_TENANT_NAME
62+
value: {{ .Values.envMap.REALTIME_TENANT_NAME.value | quote }}
6163
image: supabase/realtime:v2.63.0
6264
imagePullPolicy: IfNotPresent
6365
name: supabase-realtime

diploi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ environmentVariables:
231231
defaultValue: 3600
232232
- identifier: PGRST_DB_SCHEMAS
233233
defaultValue: public,storage,graphql_public
234+
- identifier: REALTIME_TENANT_NAME
235+
defaultValue: realtime
234236
- identifier: ADDITIONAL_REDIRECT_URLS
235237
defaultValue: ''
236238

0 commit comments

Comments
 (0)