зеркало из https://github.com/mozilla/hubs-ops.git
pgbouncer working
This commit is contained in:
Родитель
ecc07d9fc8
Коммит
3be8e2cb67
|
@ -3585,8 +3585,8 @@ Outputs:
|
|||
Value: polycosm_production
|
||||
|
||||
AppDbHostname:
|
||||
Description: App DB Hostname [reticulum/db/hostname,ita/db/hostname]
|
||||
Value: "localhost"
|
||||
Description: App DB Hostname [ita/db/hostname]
|
||||
Value: !GetAtt AppDb.Endpoint.Address
|
||||
|
||||
PostgrestDbURI:
|
||||
Description: Postgrest DB URI [postgrest/db/uri!inject-aws-secret]
|
||||
|
@ -3594,7 +3594,7 @@ Outputs:
|
|||
|
||||
PgbouncerDb:
|
||||
Description: Pgbouncer DB Info [pgbouncer/pgbouncer/db!inject-aws-secret]
|
||||
Value: !Sub "host=${AppDb.Endpoint.Address} dbname=polycosm_production auth_user=postgres password={${AppDbSecret}}"
|
||||
Value: !Sub "polycosm_production = host=${AppDb.Endpoint.Address} dbname=polycosm_production user=postgres password={${AppDbSecret}} pool_mode=transaction\npolycosm_locking = host=${AppDb.Endpoint.Address} dbname=polycosm_production user=postgres password={${AppDbSecret}} pool_mode=session"
|
||||
|
||||
AssetsBucket:
|
||||
Description: Assets bucket name [hubs/deploy/target,spoke/deploy/target]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[databases]
|
||||
db = {{ cfg.pgbouncer.db }}
|
||||
{{ cfg.pgbouncer.db }}
|
||||
|
||||
[pgbouncer]
|
||||
|
||||
|
@ -7,7 +7,7 @@ db = {{ cfg.pgbouncer.db }}
|
|||
;;; Administrative settings
|
||||
;;;
|
||||
|
||||
logfile = {{pkg.svc_logs_path}}/pgbouncer.log
|
||||
logfile = {{pkg.svc_var_path}}/pgbouncer.log
|
||||
pidfile = {{pkg.svc_var_path}}/pgbouncer.pid
|
||||
|
||||
;;;
|
||||
|
|
Загрузка…
Ссылка в новой задаче