This commit is contained in:
Greg Fodor 2019-11-07 01:01:46 +00:00
Родитель ecc07d9fc8
Коммит 3be8e2cb67
2 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -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
;;;