Skip to content

Commit

Permalink
Merge pull request coollabsio#2352 from Geczy/patch-2
Browse files Browse the repository at this point in the history
fix: supabase service, newest versions
  • Loading branch information
andrasbacsai authored Jun 7, 2024
2 parents 2b5e4a3 + 11fccb8 commit ab3c433
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions templates/compose/supabase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ services:
config:
hide_credentials: true
supabase-studio:
image: supabase/studio:20240422-5cf8f30
image: supabase/studio:20240514-6f5cabd
healthcheck:
test:
[
Expand All @@ -305,6 +305,7 @@ services:
- SUPABASE_PUBLIC_URL=${SERVICE_FQDN_SUPABASEKONG}
- SUPABASE_ANON_KEY=${SERVICE_SUPABASEANON_KEY}
- SUPABASE_SERVICE_KEY=${SERVICE_SUPABASESERVICE_KEY}
- AUTH_JWT_SECRET=${SERVICE_PASSWORD_JWT}

- LOGFLARE_API_KEY=${SERVICE_PASSWORD_LOGFLARE}
- LOGFLARE_URL=http://supabase-analytics:4000
Expand Down Expand Up @@ -913,7 +914,7 @@ services:
command: "postgrest"
exclude_from_hc: true
supabase-auth:
image: supabase/gotrue:v2.149.0
image: supabase/gotrue:v2.151.0
depends_on:
supabase-db:
# Disable this if you are using an external Postgres database
Expand Down Expand Up @@ -1002,7 +1003,18 @@ services:
supabase-analytics:
condition: service_healthy
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
interval: 5s
retries: 3
Expand Down Expand Up @@ -1159,7 +1171,7 @@ services:
- PG_META_DB_PASSWORD=${SERVICE_PASSWORD_POSTGRES}

supabase-edge-functions:
image: supabase/edge-runtime:v1.45.2
image: supabase/edge-runtime:v1.53.3
depends_on:
supabase-analytics:
condition: service_healthy
Expand Down

0 comments on commit ab3c433

Please sign in to comment.