Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/files/pgbouncer_config/pgbouncer.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ unix_socket_dir = /tmp
;;;

;; any, trust, plain, md5, cert, hba, pam
auth_type = md5
auth_type = scram-sha-256
auth_file = /etc/pgbouncer/userlist.txt

;; Path to HBA-style auth config
Expand Down
4 changes: 2 additions & 2 deletions ansible/files/postgresql_config/pg_hba.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ local all all peer
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 md5
host all all ::1/128 scram-sha-256
# Local root Unix user, passwordless access
local all postgres peer map=root_as_postgres
# IPv4 external connections
host all all 0.0.0.0/0 md5
host all all 0.0.0.0/0 scram-sha-256

# MD5 hashed password hosts

Expand Down
2 changes: 1 addition & 1 deletion ansible/files/postgresql_config/postgresql.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ listen_addresses = '*' # what IP address(es) to listen on;
# - Authentication -

authentication_timeout = 1min # 1s-600s
password_encryption = md5 # scram-sha-256 or md5
password_encryption = scram-sha-256 # scram-sha-256 or md5
db_user_namespace = off

# GSSAPI using Kerberos
Expand Down
8 changes: 4 additions & 4 deletions ansible/vars.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
supabase_internal: true

postgresql_major: "13"
postgresql_release: "13.3"
postgresql_release_checksum: sha1:aeb645988b1ec9ffbb2fc0a49d9055d3ab17affa
postgresql_release: "13.4"
postgresql_release_checksum: sha1:100ab62f9ef5dbd90f83c5da284e24ab0070ddb4

# Non Postgres Extensions
pgbouncer_release: "1.15.0"
pgbouncer_release_checksum: sha1:ea7e9dbcab178f439a0fa402a78a7f1e4f43e6d4
pgbouncer_release: "1.16.0"
pgbouncer_release_checksum: sha1:7d4b7e1110387df2245b22de3168884fdc8092c4

postgrest_arm_release: 2021-03-05-19-03-d3a8b5f-ubuntu-aarch64
postgrest_arm_release_checksum: sha1:b9e9b06ead7230b75033e8ae17912714bf463a33
Expand Down