Skip to content

Commit

Permalink
Merge pull request #769 from alphagov/fix-db-replication-for-govuk-chat
Browse files Browse the repository at this point in the history
Add exceptional case for GOV.UK Chat
  • Loading branch information
kevindew authored Aug 9, 2024
2 parents 0e19ede + 1627b4c commit 9604d0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/replicate-postgresql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ function try_find_file {
# Bouncer and Transition share a database with a non-standard hostname (ending with "postgresql" not "postgres")
db_hostname="transition-postgresql"
;;
"govuk-chat")
# We drop the govuk- prefix from the product name on our infrastructure.
db_hostname="chat-postgres"
;;
"content-data-api")
# Content Data API has a non-standard hostname (ending with "postgresql" not "postgres")
db_hostname="content-data-api-postgresql"
Expand Down

0 comments on commit 9604d0b

Please sign in to comment.