fix(supabase): update Supabase service images and healthcheck methods for improved reliability

This commit is contained in:
Andras Bacsai
2025-06-13 17:30:03 +02:00
parent 581151bb11
commit 2cc0133a7a
2 changed files with 9 additions and 9 deletions

View File

@@ -279,14 +279,14 @@ services:
config: config:
hide_credentials: true hide_credentials: true
supabase-studio: supabase-studio:
image: supabase/studio:20241202-71e5240 image: supabase/studio:2025.06.02-sha-8f2993d
healthcheck: healthcheck:
test: test:
[ [
"CMD", "CMD",
"node", "node",
"-e", "-e",
"require('http').get('http://127.0.0.1:3000/api/profile', (r) => {if (r.statusCode !== 200) process.exit(1); else process.exit(0); }).on('error', () => process.exit(1))", "fetch('http://127.0.0.1:3000/api/platform/profile').then((r) => {if (r.status !== 200) throw new Error(r.status)})"
] ]
timeout: 5s timeout: 5s
interval: 5s interval: 5s
@@ -913,7 +913,7 @@ services:
command: ["--config", "etc/vector/vector.yml"] command: ["--config", "etc/vector/vector.yml"]
supabase-rest: supabase-rest:
image: postgrest/postgrest:v12.2.0 image: postgrest/postgrest:v12.2.12
depends_on: depends_on:
supabase-db: supabase-db:
# Disable this if you are using an external Postgres database # Disable this if you are using an external Postgres database
@@ -931,7 +931,7 @@ services:
command: "postgrest" command: "postgrest"
exclude_from_hc: true exclude_from_hc: true
supabase-auth: supabase-auth:
image: supabase/gotrue:v2.164.0 image: supabase/gotrue:v2.174.0
depends_on: depends_on:
supabase-db: supabase-db:
# Disable this if you are using an external Postgres database # Disable this if you are using an external Postgres database
@@ -1022,7 +1022,7 @@ services:
realtime-dev: realtime-dev:
# This container name looks inconsistent but is correct because realtime constructs tenant id by parsing the subdomain # This container name looks inconsistent but is correct because realtime constructs tenant id by parsing the subdomain
image: supabase/realtime:v2.33.70 image: supabase/realtime:v2.34.47
container_name: realtime-dev.supabase-realtime container_name: realtime-dev.supabase-realtime
depends_on: depends_on:
supabase-db: supabase-db:
@@ -1191,7 +1191,7 @@ services:
- ./volumes/storage:/var/lib/storage - ./volumes/storage:/var/lib/storage
supabase-meta: supabase-meta:
image: supabase/postgres-meta:v0.84.2 image: supabase/postgres-meta:v0.89.3
depends_on: depends_on:
supabase-db: supabase-db:
# Disable this if you are using an external Postgres database # Disable this if you are using an external Postgres database
@@ -1207,7 +1207,7 @@ services:
- PG_META_DB_PASSWORD=${SERVICE_PASSWORD_POSTGRES} - PG_META_DB_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
supabase-edge-functions: supabase-edge-functions:
image: supabase/edge-runtime:v1.65.3 image: supabase/edge-runtime:v1.67.4
depends_on: depends_on:
supabase-analytics: supabase-analytics:
condition: service_healthy condition: service_healthy
@@ -1351,7 +1351,7 @@ services:
- /home/deno/functions/main - /home/deno/functions/main
supabase-supavisor: supabase-supavisor:
image: 'supabase/supavisor:1.1.56' image: 'supabase/supavisor:2.5.1'
healthcheck: healthcheck:
test: test:
- CMD - CMD

File diff suppressed because one or more lines are too long