Skip to content

Commit d8986ff

Browse files
committed
ci: enable logical replication in the test image
Signed-off-by: Petros Angelatos <[email protected]>
1 parent cfc25fd commit d8986ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)