From d657d21bb7e1073c1d2362e91f9460c80be513d9 Mon Sep 17 00:00:00 2001 From: Jonas Thelemann Date: Sat, 24 Oct 2026 03:33:51 +0200 Subject: [PATCH] feat(postgraphile): set the schema and default role via environment The postgraphile image will read the exposed schema and the default role from the environment instead of hard-coding them. These variables carry the same values the image uses today, so the current pin keeps behaving exactly as before and the stack is ready for the new image version. --- src/development/postgraphile/compose.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/development/postgraphile/compose.yaml b/src/development/postgraphile/compose.yaml index 10d4014f..04ea8ef7 100644 --- a/src/development/postgraphile/compose.yaml +++ b/src/development/postgraphile/compose.yaml @@ -41,6 +41,11 @@ services: # # Use the DEBUG environment variable for extended debugging. # environment: # DEBUG: graphile-build:warn,graphile-build-pg:sql + environment: + # The PostgreSQL schema exposed by the GraphQL API. + POSTGRAPHILE_SCHEMA: vibetype + # The role for a request that resolves no role of its own. + POSTGRAPHILE_DEFAULT_ROLE: vibetype_anonymous image: vibetype/postgraphile:development secrets: - source: postgraphile-connection