We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f3d81a commit 0cb9c0cCopy full SHA for 0cb9c0c
scripts/docker-compose.yaml
@@ -21,13 +21,14 @@ services:
21
- ${POSTGRES_DATA_VOLUME:-postgres_data}:/var/lib/postgresql/data
22
# These parameters are configured for local testing only.
23
# In production, use PostgreSQL defaults or your own tuned values.
24
+ # `wal_sender_timeout/2` is the keepalive timeout for streaming replication.
25
command: >
26
postgres
27
-N 1000
28
-c wal_level=logical
29
-c max_wal_senders=100
30
-c max_replication_slots=100
- -c wal_sender_timeout=1s
31
+ -c wal_sender_timeout=10s
32
restart: unless-stopped
33
healthcheck:
34
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"]
0 commit comments