Merge pull request #818 from sameersbn/base-updates

Base updates
This commit is contained in:
Sameer Naik 2016-07-29 10:13:03 +05:30 committed by GitHub
commit 7d9c0e6bce
5 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
FROM sameersbn/ubuntu:14.04.20160710
FROM sameersbn/ubuntu:14.04.20160727
MAINTAINER sameer@damagehead.com
ENV GITLAB_VERSION=8.10.1 \

View File

@ -154,7 +154,7 @@ docker run --name gitlab-postgresql -d \
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
--env 'DB_EXTENSION=pg_trgm' \
--volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \
sameersbn/postgresql:9.4-23
sameersbn/postgresql:9.4-24
```
Step 2. Launch a redis container
@ -256,7 +256,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-23
docker pull sameersbn/postgresql:9.4-24
```
For data persistence lets create a store for the postgresql and start the container.
@ -276,7 +276,7 @@ docker run --name gitlab-postgresql -d \
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
--env 'DB_EXTENSION=pg_trgm' \
--volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \
sameersbn/postgresql:9.4-23
sameersbn/postgresql:9.4-24
```
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.

View File

@ -11,7 +11,7 @@ services:
postgresql:
restart: always
image: sameersbn/postgresql:9.4-23
image: sameersbn/postgresql:9.4-24
volumes:
- /srv/docker/gitlab/postgresql:/var/lib/postgresql:Z
environment:

View File

@ -85,7 +85,7 @@ services:
- ./redis:/var/lib/redis:Z
postgresql:
restart: always
image: sameersbn/postgresql:9.4-23
image: sameersbn/postgresql:9.4-24
volumes:
- ./postgresql:/var/lib/postgresql:Z
environment:

View File

@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: postgresql
image: sameersbn/postgresql:9.4-23
image: sameersbn/postgresql:9.4-24
env:
- name: DB_USER
value: gitlab