Fix docker runner
This commit is contained in:
parent
dcfb005785
commit
87d82c7983
@ -11,6 +11,8 @@ volumes:
|
|||||||
letsencrypt_html:
|
letsencrypt_html:
|
||||||
runner_main_etc:
|
runner_main_etc:
|
||||||
runner_main_home:
|
runner_main_home:
|
||||||
|
runner_docker_etc:
|
||||||
|
runner_docker_home:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
@ -159,6 +161,8 @@ services:
|
|||||||
docker-dind:
|
docker-dind:
|
||||||
container_name: docker-dind
|
container_name: docker-dind
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
|
volumes:
|
||||||
|
- ./runner/docker/hosts:/etc/hosts
|
||||||
privileged: true
|
privileged: true
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
@ -168,4 +172,7 @@ services:
|
|||||||
image: gitlab.wojciechkozlowski.eu:8443/wojtek/loki/runner-docker
|
image: gitlab.wojciechkozlowski.eu:8443/wojtek/loki/runner-docker
|
||||||
links:
|
links:
|
||||||
- docker-dind:docker
|
- docker-dind:docker
|
||||||
|
volumes:
|
||||||
|
- runner_docker_etc:/etc/gitlab-runner
|
||||||
|
- runner_docker_home:/home/gitlab-runner
|
||||||
restart: always
|
restart: always
|
||||||
|
7
runner/docker/hosts
Normal file
7
runner/docker/hosts
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
127.0.0.1 localhost
|
||||||
|
::1 localhost ip6-localhost ip6-loopback
|
||||||
|
fe00::0 ip6-localnet
|
||||||
|
ff00::0 ip6-mcastprefix
|
||||||
|
ff02::1 ip6-allnodes
|
||||||
|
ff02::2 ip6-allrouters
|
||||||
|
192.168.0.205 gitlab.wojciechkozlowski.eu
|
Reference in New Issue
Block a user