Skip to content

Commit 746eb2c

Browse files
jeff-davispetrosagg
authored andcommitted
Image configuration updates.
1 parent 3390cf3 commit 746eb2c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
version: '2'
22
services:
33
postgres:
4-
image: "sfackler/rust-postgres-test:6"
4+
image: "sfackler/rust-postgres-test:7"
5+
build: ./docker
6+
environment:
7+
- POSTGRES_PASSWORD=password
58
ports:
69
- 5433:5433

docker/sql_setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ port = 5433
6464
ssl = on
6565
ssl_cert_file = 'server.crt'
6666
ssl_key_file = 'server.key'
67+
wal_level = logical
6768
EOCONF
6869

6970
cat > "$PGDATA/pg_hba.conf" <<-EOCONF
@@ -82,6 +83,7 @@ host all ssl_user ::0/0 reject
8283
8384
# IPv4 local connections:
8485
host all postgres 0.0.0.0/0 trust
86+
host replication postgres 0.0.0.0/0 trust
8587
# IPv6 local connections:
8688
host all postgres ::0/0 trust
8789
# Unix socket connections:

0 commit comments

Comments
 (0)