duckil_plm/fems-timescaledb/pg_hba.conf

15 lines
827 B
Plaintext
Raw Normal View History

2024-11-18 19:51:13 +09:00
# config/postgres/pg_hba.conf
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 scram-sha-256
# IPv6 local connections:
host all all ::1/128 scram-sha-256
# Allow all connections from Docker network
host all all 172.16.0.0/12 scram-sha-256
host all all 192.168.0.0/16 scram-sha-256
host all all 10.0.0.0/8 scram-sha-256
# Allow connections from specific users
host fems_timescaledb fems_user all scram-sha-256