mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
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:
1 parent
834cfd4302
commit
a52b5e7767
3 files changed
+6
-4
No files matched your search
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user