From 448a36c6938a53f413e241e28df33077fe82412a Mon Sep 17 00:00:00 2001 From: Longze Chen Date: Wed, 9 Oct 2024 11:44:50 -0400 Subject: [PATCH] Fix broken postgres config in docker compose --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index ce4e3ea0618..6a4a69ea372 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -86,6 +86,8 @@ services: ports: - 5432:5432 environment: + POSTGRES_DB: osf + POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_INITDB_SQL: | SELECT 'CREATE DATABASE gravyvalet' WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'gravyvalet')\gexec volumes: