feat(update): minor changes

This commit is contained in:
Olivier Louvignes
2018-05-30 23:07:08 +02:00
parent 0e7af9a3c6
commit 7a4d244e26
2 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,9 @@
GITLAB_CE_VERSION=10.5.0-ce.0 GITLAB_CE_VERSION=10.8.2-ce.0
GITLAB_RUNNER_VERSION=alpine-v10.1.0
POSTGRES_VERSION=9.6.8-alpine
REDIS_VERSION=3-alpine
NGINX_PROXY_NETWORK_NAME=nginxproxy_default
GITLAB_HOST=gitlab.mydomain.io GITLAB_HOST=gitlab.mydomain.io
GITLAB_SSH_IP=5.6.7.8 GITLAB_SSH_IP=5.6.7.8
GITLAB_SSH_PORT=22 GITLAB_SSH_PORT=22

View File

@ -28,7 +28,7 @@ services:
- nginx_proxy - nginx_proxy
runner: runner:
image: gitlab/gitlab-runner:alpine-v10.1.0 image: gitlab/gitlab-runner:${GITLAB_CE_VERSION}
restart: always restart: always
container_name: gitlab_runner container_name: gitlab_runner
environment: environment:
@ -38,7 +38,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock:rw - /var/run/docker.sock:/var/run/docker.sock:rw
postgres: postgres:
image: postgres:9.6.5-alpine image: postgres:${POSTGRES_VERSION}
restart: always restart: always
container_name: gitlab_postgresql container_name: gitlab_postgresql
# https://github.com/docker-library/docs/tree/master/postgres#environment-variables # https://github.com/docker-library/docs/tree/master/postgres#environment-variables
@ -50,7 +50,7 @@ services:
restart: always restart: always
redis: redis:
image: redis:3-alpine image: redis:${REDIS_VERSION}
restart: always restart: always
container_name: gitlab_redis container_name: gitlab_redis
command: command:
@ -62,4 +62,4 @@ services:
networks: networks:
nginx_proxy: nginx_proxy:
external: external:
name: nginxproxy_default name: ${NGINX_PROXY_NETWORK_NAME}