Files
backend/etc/pg-init-remote.sh
Andriy Oblivantsev 6c26135cad
CI / test (push) Successful in 4s
Update
2026-03-02 21:21:21 +00:00

6 lines
235 B
Bash
Executable File

#!/bin/bash
# Allow remote connections to PostgreSQL (for clients connecting via host IP:7721)
set -e
echo "host all all 0.0.0.0/0 scram-sha-256" >> "$PGDATA/pg_hba.conf"
echo "host all all ::/0 scram-sha-256" >> "$PGDATA/pg_hba.conf"