mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
README: use CREATE ROLE statement in postgresql setup instructions
This commit is contained in:
parent
bcba7b438d
commit
f71a8b565b
@ -260,7 +260,7 @@ docker run --name=gitlab -d --link mysql:mysql \
|
||||
The image also supports using an external PostgreSQL Server. This is also controlled via environment variables.
|
||||
|
||||
```sql
|
||||
CREATE USER gitlab WITH PASSWORD 'password';
|
||||
CREATE ROLE gitlab with LOGIN CREATEDB PASSWORD 'password';
|
||||
CREATE DATABASE gitlabhq_production;
|
||||
GRANT ALL PRIVILEGES ON DATABASE gitlabhq_production to gitlab;
|
||||
```
|
||||
@ -321,7 +321,7 @@ psql -U postgres -h ${POSTGRESQL_IP}
|
||||
```
|
||||
|
||||
```sql
|
||||
CREATE USER gitlab WITH PASSWORD 'password';
|
||||
CREATE ROLE gitlab with LOGIN CREATEDB PASSWORD 'password';
|
||||
CREATE DATABASE gitlabhq_production;
|
||||
GRANT ALL PRIVILEGES ON DATABASE gitlabhq_production to gitlab;
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user