Skip to content

Commit 75a0aaf

Browse files
committed
Add hba file
1 parent 86ad393 commit 75a0aaf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

config/pg_hba.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
local all all trust
2+
host all all 0.0.0.0/0 trust

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ services:
3636
timeout: 2s
3737
retries: 20
3838
volumes:
39-
- ./pg_hba.conf:/var/lib/postgres/pg_hba.conf
39+
- ./config/pg_hba.conf:/var/lib/postgres/pg_hba.conf
4040
command: postgres -c listen_addresses='*' -c hba_file=/var/lib/postgres/pg_hba.conf
4141
ports:
4242
- "5431:5432"

0 commit comments

Comments
 (0)