Skip to content

Commit 7da6144

Browse files
committed
fix: remove postgrest health check
1 parent 4556d03 commit 7da6144

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

internal/start/start.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -309,12 +309,7 @@ EOF
309309
"PGRST_DB_ANON_ROLE=anon",
310310
"PGRST_JWT_SECRET=" + utils.JWTSecret,
311311
},
312-
Healthcheck: &container.HealthConfig{
313-
Test: []string{"CMD", "bash", "-c", "printf \\0 > /dev/tcp/localhost/3000"},
314-
Interval: 2 * time.Second,
315-
Timeout: 2 * time.Second,
316-
Retries: 10,
317-
},
312+
// PostgREST does not expose a shell for health check
318313
},
319314
container.HostConfig{
320315
RestartPolicy: container.RestartPolicy{Name: "always"},

0 commit comments

Comments
 (0)