The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix Healthchecks with printf
Ruggero Tomasellif77ac24ddd75
diff --git a/docker/docker-compose.yml b/docker/docker-compose.ymlindex 0fb8c55acd6..d78eb40cfc8 100644--- a/docker/docker-compose.yml+++ b/docker/docker-compose.yml@@ -106,7 +106,7 @@ services:db: # Disable this if you are using an external Postgres databasecondition: service_healthyhealthcheck:- test: [ "CMD", "printf", "\\0", ">", "/dev/tcp/localhost/4000" ]+ test: [ "CMD", "bash", "-c", "printf \\0 > /dev/tcp/localhost/3000" ]timeout: 5sinterval: 5sretries: 3@@ -125,7 +125,7 @@ services:db: # Disable this if you are using an external Postgres databasecondition: service_healthyhealthcheck:- test: [ "CMD", "printf", "\\0", ">", "/dev/tcp/localhost/4000" ]+ test: [ "CMD", "bash", "-c", "printf \\0 > /dev/tcp/localhost/4000" ]timeout: 5sinterval: 5sretries: 3