Skip to content

Commit 21a8d59

Browse files
committed
Add postgres configuration to developer docs
1 parent 79fe760 commit 21a8d59

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

developer_setup.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,27 @@ ManageIQ requires a memcached instance for session caching and a PostgreSQL data
9696

9797
* macOS
9898

99-
`brew` will configure the cluster automatically, but you will need to create the user.
99+
`brew` will configure the cluster automatically, but you need to make a few tweaks
100+
including granting access to the root user.
101+
102+
On apple silicone, postgres configuration is found in `/opt/homebrew` and intel is in `usr/local/homebrew`.
103+
104+
```conf
105+
# /opt/homebrew/var/postgresql@13/postgresql.conf
106+
# right after authentication_timeout = 1min
107+
password_encryption = scram-sha-256
108+
wal_level = logical
109+
max_locks_per_transaction = 128
110+
```
111+
112+
```conf
113+
# /opt/homebrew/etc/postgresql@13/pg_hba.conf
114+
local all all scram-sha-256
115+
# IPv4 local connections:
116+
host all all 127.0.0.1/32 scram-sha-256
117+
# IPv6 local connections:
118+
host all all ::1/128 scram-sha-256
119+
```
100120

101121
```bash
102122
brew services start postgresql@13

0 commit comments

Comments
 (0)