Speed up docker compose down for postgREST

This commit is contained in:
Zach Blume authored and GitHub committed 2023-07-05 20:16:46 -04:00
1 parent 73b6aff023
commit d0d295da9e
1 file changed
+4
+4
View File
@@ -127,6 +127,10 @@ services:
PGRST_DB_ANON_ROLE: anon
PGRST_JWT_SECRET: ${JWT_SECRET}
PGRST_DB_USE_LEGACY_GUCS: "false"
# The following explicit command quickens the `docker compose down` command from 10s to 0.3s:
# https://github.com/PostgREST/postgrest/issues/2851
command:
command: "postgrest"
realtime:
container_name: realtime-dev.supabase-realtime