fix: Postgres auth + worker startup

This commit is contained in:
2026-06-16 19:38:32 +02:00
parent 1a5d998cc8
commit 3136d55742
6 changed files with 31 additions and 24 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<'E
DO $$
BEGIN
IF NOT EXISTS (SELECT FROM pg_catalog.pg_roles WHERE rolname = 'authenticator') THEN
CREATE ROLE authenticator NOLOGIN;
CREATE ROLE authenticator LOGIN;
END IF;
END
$$;
+6
View File
@@ -0,0 +1,6 @@
# TYPE DATABASE USER ADDRESS METHOD
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
host all all 0.0.0.0/0 trust
host all all ::/0 trust
+2 -2
View File
@@ -16,5 +16,5 @@ maintenance_work_mem = 64MB
# Timeouts
idle_in_transaction_session_timeout = 60000
# JSONB output as text for PostgREST compatibility
jsonb_output_as_text = true
# Logging
log_statement = 'ddl'