File tree 3 files changed +5
-1
lines changed
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
version : ' 2'
2
2
services :
3
3
postgres :
4
- image : " sfackler/rust-postgres-test:6 "
4
+ image : " sfackler/rust-postgres-test:7 "
5
5
ports :
6
6
- 5433:5433
Original file line number Diff line number Diff line change 1
1
FROM postgres:12
2
2
3
+ ENV POSTGRES_PASSWORD="password"
4
+
3
5
COPY sql_setup.sh /docker-entrypoint-initdb.d/
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ port = 5433
64
64
ssl = on
65
65
ssl_cert_file = 'server.crt'
66
66
ssl_key_file = 'server.key'
67
+ wal_level = logical
67
68
EOCONF
68
69
69
70
cat > " $PGDATA /pg_hba.conf" << -EOCONF
@@ -82,6 +83,7 @@ host all ssl_user ::0/0 reject
82
83
83
84
# IPv4 local connections:
84
85
host all postgres 0.0.0.0/0 trust
86
+ host replication postgres 0.0.0.0/0 trust
85
87
# IPv6 local connections:
86
88
host all postgres ::0/0 trust
87
89
# Unix socket connections:
You can’t perform that action at this time.
0 commit comments