# fems-timescaledb/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_timeseries   fems_user       all                    scram-sha-256