-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update bootstrap * chore: update bootstrap
- Loading branch information
Showing
11 changed files
with
159 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[databases] | ||
*=host=${db_host} port=5432 auth_user=pgbouncer | ||
mainnet=host=${db_host} port=5432 dbname=dbsync-mainnet auth_user=pgbouncer | ||
preview=host=${db_host} port=5432 dbname=dbsync-preview auth_user=pgbouncer | ||
preprod=host=${db_host} port=5432 dbname=dbsync-preprod auth_user=pgbouncer | ||
|
||
[pgbouncer] | ||
listen_port=6432 | ||
listen_addr=0.0.0.0 | ||
unix_socket_dir=/tmp/ | ||
unix_socket_mode=0777 | ||
auth_file=/opt/bitnami/pgbouncer/conf/userlist.txt | ||
auth_type=scram-sha-256 | ||
auth_query=SELECT usename, passwd FROM user_search($1) | ||
pidfile=/opt/bitnami/pgbouncer/tmp/pgbouncer.pid | ||
logfile=/opt/bitnami/pgbouncer/logs/pgbouncer.log | ||
admin_users=postgres | ||
client_tls_sslmode=disable | ||
server_tls_sslmode=disable | ||
ignore_startup_parameters=ignore_startup_parameters = extra_float_digits | ||
stats_period=60 | ||
max_user_connections=5 | ||
tcp_keepcnt=9 | ||
tcp_keepidle=300 | ||
tcp_keepintvl=75 | ||
admin_users=pgbouncer | ||
[users] | ||
%{ for user in users ~} | ||
${user.name} = max_user_connections=${user.max_connections} | ||
%{ endfor ~} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
"pgbouncer" "${auth_user_password}" | ||
%{ for user in users ~} | ||
"${user.name}" "${user.password}" | ||
%{ endfor ~} |