-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (55 loc) · 1.53 KB
/
docker-compose.yml
File metadata and controls
56 lines (55 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: '3'
services:
client:
image: nwops/release_manager:latest
build: .
entrypoint:
- ssh-agent
- /bin/bash
environment:
- GEM_HOME=/home/appuser/.gems
- BUNDLE_PATH=/home/appuser/.bundle
- GITLAB_API_ENDPOINT=http://web/api/v4
- GITLAB_API_PRIVATE_TOKEN
- R10K_REPO_URL="git@web:devops/control-repo.git"
working_dir: /app
# command:
# - app_startup_script.sh
volumes:
- .:/app
runner:
depends_on:
- web
image: 'gitlab/gitlab-runner:ubuntu-v10.5.0'
volumes:
- './srv/gitlab-runner/config:/etc/gitlab-runner'
- '/var/run/docker.sock:/var/run/docker.sock'
environment:
- DOCKER_NETWORK_MODE=releasemanager_default
- RUNNER_TAG_LIST=ruby
- REGISTRATION_TOKEN=W_nSSWTvuYmGUmUbh65y
- RUNNER_NAME=test-runner
- CI_SERVER_URL=http://web/ci
- RUNNER_EXECUTOR=docker
- GITLAB_API_ENDPOINT=http://web/api/v4
- REGISTER_RUN_UNTAGGED=true
- DOCKER_IMAGE=ruby:2.1
- REGISTER_LOCKED=false
# the token may change so this really needs to be more dynamic
- GITLAB_API_PRIVATE_TOKEN
#entrypoint:
web:
image: 'gitlab/gitlab-ce:10.5.4-ce.0'
restart: always
# environment:
# GITLAB_OMNIBUS_CONFIG: |
# external_url http://web
ports:
- '8000:80'
- '4433:443'
- '2201:22'
volumes:
- './srv/gitlab/config:/etc/gitlab'
- './srv/gitlab/logs:/var/log/gitlab'
- './srv/gitlab/data:/var/opt/gitlab'
# setup ssh key in gitlab