-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
30 lines (28 loc) · 913 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
30 lines (28 loc) · 913 Bytes
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
#
# * Gitlab Runner
# * author: @alisharify7
# * Under GPL-3.0 license.
# * email: alisharifyofficial@gmail.com
# * read more at repo: https://github.com/alisharify7/preconfigured-docker-compose
services:
gitlab-runner:
image: gitlab/gitlab-runner:${GITLAB-RUNNER-TAG:-latest}
container_name: gitlab-runner
hostname: gitlab-runner
restart: always
volumes:
- './config:/etc/gitlab-runner'
- './data:/home/gitlab-runner'
ports:
- '8093:8093'
environment:
- 'CI_SERVER_URL=${CI_SERVER_URL}'
- 'REGISTRATION_TOKEN=${REGISTRATION_TOKEN}'
- 'RUNNER_EXECUTOR=${RUNNER_EXECUTOR}'
- 'RUNNER_NAME=${RUNNER_NAME}'
- 'RUNNER_TAG_LIST=${RUNNER_TAG_LIST}'
- 'RUNNER_LIMIT=${RUNNER_LIMIT}'
- 'RUNNER_REQUEST_CONCURRENCY=${RUNNER_REQUEST_CONCURRENCY}'
- 'RUNNER_OUTPUT_LIMIT=${RUNNER_OUTPUT_LIMIT}'
env_file:
- .env