File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11version : ' 2'
22services :
33 postgres :
4- image : " sfackler/rust-postgres-test:6 "
4+ image : " sfackler/rust-postgres-test:7 "
55 ports :
66 - 5433:5433
Original file line number Diff line number Diff line change 11FROM postgres:12
22
3+ ENV POSTGRES_PASSWORD="password"
4+
35COPY sql_setup.sh /docker-entrypoint-initdb.d/
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ port = 5433
6464ssl = on
6565ssl_cert_file = 'server.crt'
6666ssl_key_file = 'server.key'
67+ wal_level = logical
6768EOCONF
6869
6970cat > " $PGDATA /pg_hba.conf" << -EOCONF
@@ -82,6 +83,7 @@ host all ssl_user ::0/0 reject
8283
8384# IPv4 local connections:
8485host all postgres 0.0.0.0/0 trust
86+ host replication postgres 0.0.0.0/0 trust
8587# IPv6 local connections:
8688host all postgres ::0/0 trust
8789# Unix socket connections:
You can’t perform that action at this time.
0 commit comments