initial commit
This commit is contained in:
1
postgres/init.sql
Normal file
1
postgres/init.sql
Normal file
@@ -0,0 +1 @@
|
||||
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
||||
11
postgres/pg_hba.conf
Normal file
11
postgres/pg_hba.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
# TYPE DATABASE USER ADDRESS METHOD
|
||||
local all all scram-sha-256
|
||||
host all all 127.0.0.1/32 scram-sha-256
|
||||
|
||||
# Allow Docker containers to connect (Standard Docker bridge subnets)
|
||||
host all all 172.16.0.0/12 scram-sha-256
|
||||
host all all 192.168.0.0/16 scram-sha-256
|
||||
|
||||
# Reject everything else
|
||||
host all all 0.0.0.0/0 reject
|
||||
host all all ::/0 reject
|
||||
Reference in New Issue
Block a user