Skip to content

Commit 3f3dd04

Browse files
Put the runner in its own network
1 parent 3fc7a6f commit 3f3dd04

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919
- Upgrade to [Træfik](https://traefik.io/) [v2](https://doc.traefik.io/traefik/migration/v1-to-v2/) syntax.
2020
- Replace CI markdown check.
2121
- Use Docker Compose plugin.
22+
- Put the runner in its own network.
2223

2324
## [1.1.0] 2022-06-22
2425

docker-compose.yml

+3
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,15 @@ services:
4141

4242
runner:
4343
image: 'gitlab/gitlab-runner:latest'
44+
networks:
45+
- runner
4446
restart: unless-stopped
4547
volumes:
4648
- runner_config:/etc/gitlab-runner
4749
- /var/run/docker.sock:/var/run/docker.sock
4850

4951
networks:
52+
runner:
5053
web:
5154
external: true
5255

0 commit comments

Comments
 (0)