Commit 4cce6f41 authored by Richard Clamp's avatar Richard Clamp

Explain how to generate POSTGRESQL_PASSWORD_HASH

POSTGRESQL_PASSWORD_HASH as with other postgresql password hashes, is
generated from md5(password + username).  The previous description
suggested it was just a hash of POSTGRESQL_USER_PASSWORD, which leads to
authentication failures

Closes https://gitlab.com/gitlab-org/build/team-tasks/issues/39
parent 88291fff
...@@ -113,8 +113,13 @@ server nodes. ...@@ -113,8 +113,13 @@ server nodes.
We will need the following password information for the application's database user: We will need the following password information for the application's database user:
- `POSTGRESQL_USERNAME`. Defaults to `gitlab`
- `POSTGRESQL_USER_PASSWORD`. The password for the database user - `POSTGRESQL_USER_PASSWORD`. The password for the database user
- `POSTGRESQL_PASSWORD_HASH`. The md5 hash of POSTGRESQL_USER_PASSWORD - `POSTGRESQL_PASSWORD_HASH`. This is a hash generated out of the username/password pair.
Can be generated with:
```sh
echo -n 'POSTGRESQL_USER_PASSWORDPOSTGRESQL_USERNAME' | md5sum
```
#### Pgbouncer #### Pgbouncer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment