chore: upgrade Realtime image to v2.0.2 (#11482)

* chore: upgrade Realtime image to v2.0.2

* chore: update realtime hostname

Co-authored-by: Qiao Han <qiao@supabase.io>
This commit is contained in:
Wen Bo XieandQiao Han authored and GitHub committed 2023-01-05 21:37:28 -08:00
1 parent 834cfd4302
commit a52b5e7767
3 files changed
+6 -4

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ services:
db:
restart: 'no'
volumes:
# Always use a fresh database when developing
- /var/lib/postgresql/data
# Seed data should be inserted last (alphabetical order)
- ./dev/data.sql:/docker-entrypoint-initdb.d/seed.sql
storage:
+3 -3
View File
@@ -104,8 +104,8 @@ services:
PGRST_DB_USE_LEGACY_GUCS: "false"
realtime:
container_name: supabase-realtime
image: supabase/realtime:v2.0.0
container_name: realtime-dev.supabase-realtime
image: supabase/realtime:v2.0.2
depends_on:
db: # Disable this if you are using an external Postgres database
condition: service_healthy
@@ -117,8 +117,8 @@ services:
DB_USER: ${POSTGRES_USER}
DB_PASSWORD: ${POSTGRES_PASSWORD}
DB_NAME: ${POSTGRES_DB}
DB_ENC_KEY: supabaserealtime
DB_AFTER_CONNECT_QUERY: 'SET search_path TO _realtime'
DB_ENC_KEY: supabaserealtime
API_JWT_SECRET: ${JWT_SECRET}
FLY_ALLOC_ID: fly123
FLY_APP_NAME: realtime
+1 -1
View File
@@ -124,7 +124,7 @@ services:
## Secure Realtime routes
- name: realtime-v1
_comment: "Realtime: /realtime/v1/* -> ws://realtime:4000/socket/*"
url: http://realtime:4000/socket/
url: http://realtime-dev.supabase-realtime:4000/socket/
routes:
- name: realtime-v1-all
strip_path: true