Skip to content

Commit 5d9cf14

Browse files
committed
add preset ips
1 parent 4750f37 commit 5d9cf14

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

config/pg_hba.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ local all postgres peer
44
local all all scram-sha-256
55
host all postgres 0.0.0.0/0 scram-sha-256
66
host all postgres ::/0 scram-sha-256
7+
host all all 35.161.45.11/32 scram-sha-256
8+
host all all 52.32.136.34/32 scram-sha-256
9+
host all all 54.244.23.85/32 scram-sha-256
710
host all student 0.0.0.0/0 scram-sha-256
811
host all student ::/0 scram-sha-256
912
host all all 127.0.0.1/32 scram-sha-256

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ services:
22
postgres:
33
build:
44
context: .
5+
image: ghcr.io/hexlet-components/data-salesdb:latest
56
environment:
67
POSTGRES_PASSWORD: secret
78
ports:

0 commit comments

Comments
 (0)