fix: Postgres auth + worker startup
This commit is contained in:
@@ -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
|
||||
$$;
|
||||
|
||||
@@ -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
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user