Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Make content-audit-tool use pgbouncer in Carrenza
Browse files Browse the repository at this point in the history
  • Loading branch information
barrucadu committed Aug 1, 2018
1 parent 92a8e2f commit 4814ab0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/adding-a-new-app.md
Expand Up @@ -169,6 +169,8 @@ Start with the following configuration for the app module variables.
```
# hieradata/common.yaml
govuk::apps::myapp::db_hostname: "postgresql-primary-1.backend"
govuk::apps::myapp::db_port: 6432
govuk::apps::myapp::db_allow_prepared_statements: false
govuk::apps::myapp::db::backend_ip_range: "%{hiera('environment_ip_prefix')}.3.0/24"
# hieradata_aws/common.yaml
Expand Down
2 changes: 2 additions & 0 deletions hieradata/common.yaml
Expand Up @@ -375,6 +375,8 @@ govuk::apps::contacts::redis_host: "%{hiera('sidekiq_host')}"
govuk::apps::contacts::redis_port: "%{hiera('sidekiq_port')}"

govuk::apps::content_audit_tool::db_hostname: "postgresql-primary-1.backend"
govuk::apps::content_audit_tool::db_port: 6432
govuk::apps::content_audit_tool::db_allow_prepared_statements: false
govuk::apps::content_audit_tool::db::backend_ip_range: "%{hiera('environment_ip_prefix')}.3.0/24"
govuk::apps::content_audit_tool::redis_host: "%{hiera('sidekiq_host')}"
govuk::apps::content_audit_tool::redis_port: "%{hiera('sidekiq_port')}"
Expand Down

0 comments on commit 4814ab0

Please sign in to comment.