mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
bump image to sameersbn/postgresql:9.4-8 in examples
This commit is contained in:
parent
2a255c8990
commit
b2b7ba5ca7
@ -157,7 +157,7 @@ docker run --name gitlab-postgresql -d \
|
||||
--env 'DB_NAME=gitlabhq_production' \
|
||||
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
|
||||
--volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \
|
||||
sameersbn/postgresql:9.4-7
|
||||
sameersbn/postgresql:9.4-8
|
||||
```
|
||||
|
||||
Step 2. Launch a redis container
|
||||
@ -258,7 +258,7 @@ To illustrate linking with a postgresql container, we will use the [sameersbn/po
|
||||
First, lets pull the postgresql image from the docker index.
|
||||
|
||||
```bash
|
||||
docker pull sameersbn/postgresql:9.4-7
|
||||
docker pull sameersbn/postgresql:9.4-8
|
||||
```
|
||||
|
||||
For data persistence lets create a store for the postgresql and start the container.
|
||||
@ -277,7 +277,7 @@ docker run --name gitlab-postgresql -d \
|
||||
--env 'DB_NAME=gitlabhq_production' \
|
||||
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
|
||||
--volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \
|
||||
sameersbn/postgresql:9.4-7
|
||||
sameersbn/postgresql:9.4-8
|
||||
```
|
||||
|
||||
The above command will create a database named `gitlabhq_production` and also create a user named `gitlab` with the password `password` with access to the `gitlabhq_production` database.
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
postgresql:
|
||||
image: sameersbn/postgresql:9.4-7
|
||||
image: sameersbn/postgresql:9.4-8
|
||||
environment:
|
||||
- DB_USER=gitlab
|
||||
- DB_PASS=password
|
||||
|
||||
@ -7,7 +7,7 @@ metadata:
|
||||
spec:
|
||||
containers:
|
||||
- name: postgresql
|
||||
image: sameersbn/postgresql:9.4-7
|
||||
image: sameersbn/postgresql:9.4-8
|
||||
env:
|
||||
- name: DB_USER
|
||||
value: gitlab
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user