fix: supabase service, newest versions

This commit is contained in:
Matt 2024-06-04 07:58:40 -05:00 committed by GitHub
parent 6d8c935cc7
commit 11fccb8e89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -278,7 +278,7 @@ services:
config: config:
hide_credentials: true hide_credentials: true
supabase-studio: supabase-studio:
image: supabase/studio:20240422-5cf8f30 image: supabase/studio:20240514-6f5cabd
healthcheck: healthcheck:
test: test:
[ [
@ -305,6 +305,7 @@ services:
- SUPABASE_PUBLIC_URL=${SERVICE_FQDN_SUPABASEKONG} - SUPABASE_PUBLIC_URL=${SERVICE_FQDN_SUPABASEKONG}
- SUPABASE_ANON_KEY=${SERVICE_SUPABASEANON_KEY} - SUPABASE_ANON_KEY=${SERVICE_SUPABASEANON_KEY}
- SUPABASE_SERVICE_KEY=${SERVICE_SUPABASESERVICE_KEY} - SUPABASE_SERVICE_KEY=${SERVICE_SUPABASESERVICE_KEY}
- AUTH_JWT_SECRET=${SERVICE_PASSWORD_JWT}
- LOGFLARE_API_KEY=${SERVICE_PASSWORD_LOGFLARE} - LOGFLARE_API_KEY=${SERVICE_PASSWORD_LOGFLARE}
- LOGFLARE_URL=http://supabase-analytics:4000 - LOGFLARE_URL=http://supabase-analytics:4000
@ -913,7 +914,7 @@ services:
command: "postgrest" command: "postgrest"
exclude_from_hc: true exclude_from_hc: true
supabase-auth: supabase-auth:
image: supabase/gotrue:v2.149.0 image: supabase/gotrue:v2.151.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
@ -1002,7 +1003,18 @@ services:
supabase-analytics: supabase-analytics:
condition: service_healthy condition: service_healthy
healthcheck: healthcheck:
test: ["CMD", "bash", "-c", "printf \\0 > /dev/tcp/127.0.0.1/4000"] test:
[
"CMD",
"curl",
"-sSfL",
"--head",
"-o",
"/dev/null",
"-H",
"Authorization: Bearer ${ANON_KEY}",
"http://127.0.0.1:4000/api/tenants/realtime-dev/health"
]
timeout: 5s timeout: 5s
interval: 5s interval: 5s
retries: 3 retries: 3
@ -1159,7 +1171,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.45.2 image: supabase/edge-runtime:v1.53.3
depends_on: depends_on:
supabase-analytics: supabase-analytics:
condition: service_healthy condition: service_healthy