Skip to content

Commit

Permalink
Update pg.conf.template
Browse files Browse the repository at this point in the history
Add environment to conninfo and streaming_conninfo
  • Loading branch information
marvinkinberger authored Jun 28, 2023
1 parent dd21e1b commit 5601bc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pg.conf.template
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[${DB_HOST}]
active = true
description = "PostgreSQL Database (Streaming-Only)"
conninfo = host=${DB_HOST} user=${DB_SUPERUSER} dbname=${DB_SUPERUSER_DATABASE}
streaming_conninfo = host=${DB_HOST} user=${DB_REPLICATION_USER}
conninfo = host=${DB_HOST} user=${DB_SUPERUSER} dbname=${DB_SUPERUSER_DATABASE} port=${DB_PORT}
streaming_conninfo = host=${DB_HOST} user=${DB_REPLICATION_USER} port=${DB_PORT}
backup_method = ${DB_BACKUP_METHOD}
streaming_archiver = on
slot_name = ${DB_SLOT_NAME}

0 comments on commit 5601bc8

Please sign in to comment.