Skip to content

Commit e39b9f5

Browse files
nmcspaddenroot
authored and
root
committed
Initial commit
0 parents  commit e39b9f5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Dockerfile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Version 0.0.1
2+
3+
FROM postgres
4+
5+
MAINTAINER Nick McSpadden <[email protected]>
6+
7+
ADD setupRemoteConnections.sh /docker-entrypoint-initdb.d/setupRemoteConnections.sh

setupRemoteConnections.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
sed -i '/host all all 127.0.0.1\/32 trust/a host all all 172.17.0.1\/16 trust' /var/lib/postgresql/data/pg_hba.conf

0 commit comments

Comments
 (0)