From 24e8371a53f56e473a2dc367570ea11f9f042a20 Mon Sep 17 00:00:00 2001 From: jared Date: Sat, 28 Jan 2023 16:36:25 +1100 Subject: [PATCH] udpate db volumes to bind --- supabase/docker-compose.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/supabase/docker-compose.yml b/supabase/docker-compose.yml index 26a713e..88839d7 100644 --- a/supabase/docker-compose.yml +++ b/supabase/docker-compose.yml @@ -234,6 +234,12 @@ services: PGDATABASE: ${POSTGRES_DB} POSTGRES_DB: ${POSTGRES_DB} volumes: - - ./volumes/db/realtime.sql:/docker-entrypoint-initdb.d/realtime.sql - - ./volumes/db/roles.sql:/docker-entrypoint-initdb.d/roles.sql - - ./volumes/db/data:/var/lib/postgresql/data + - type: bind + source: ./volumes/db/realtime.sql + target: /docker-entrypoint-initdb.d/realtime.sql + - type: bind + source: ./volumes/db/roles.sql + target: /docker-entrypoint-initdb.d/roles.sql + - type: bind + source: ./volumes/db/data + target: /var/lib/postgresql/data