mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
fix: persist pgsodium encryption key between restarts (#21855)
* Update docker-compose.yml * bug fix based on https://github.com/supabase/postgres/pull/901 * Update docker-compose.yml based on https://github.com/supabase/postgres/pull/901 * chore: add named volume for db-config * Delete docker/volumes/db/pgsodium/.gitkeep * chore: use named volume for db-config --------- Co-authored-by: Han Qiao <sweatybridge@gmail.com>
This commit is contained in:
1 parent
5e0fab2b6d
commit
24ac4adb79
1 file changed
+6
-1
@@ -6,8 +6,8 @@
|
||||
|
||||
name: supabase
|
||||
version: "3.8"
|
||||
services:
|
||||
|
||||
services:
|
||||
studio:
|
||||
container_name: supabase-studio
|
||||
image: supabase/studio:20240301-0942bfe
|
||||
@@ -380,6 +380,8 @@ services:
|
||||
- ./volumes/db/data:/var/lib/postgresql/data:Z
|
||||
# Changes required for Analytics support
|
||||
- ./volumes/db/logs.sql:/docker-entrypoint-initdb.d/migrations/99-logs.sql:Z
|
||||
# Use named volume to persist pgsodium decryption key between restarts
|
||||
- db-config:/etc/postgresql-custom
|
||||
|
||||
vector:
|
||||
container_name: supabase-vector
|
||||
@@ -403,3 +405,6 @@ services:
|
||||
- ${DOCKER_SOCKET_LOCATION}:/var/run/docker.sock:ro
|
||||
|
||||
command: [ "--config", "etc/vector/vector.yml" ]
|
||||
|
||||
volumes:
|
||||
db-config:
|
||||
Reference in new issue
Block a user