drone-runner. Adding missing Docker socket mount.
This commit is contained in:
parent
9b3ccd284e
commit
b1988747cd
|
@ -6,7 +6,8 @@ services:
|
||||||
image: "drone/drone-runner-docker:${IMAGE_VERSION:-1}"
|
image: "drone/drone-runner-docker:${IMAGE_VERSION:-1}"
|
||||||
container_name: drone-runner
|
container_name: drone-runner
|
||||||
volumes:
|
volumes:
|
||||||
- "${HOST_DATA_DIR:-./data}:/data"
|
# Mounting Docker socket inside the container to control temporary Docker containers from runner.
|
||||||
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
ports:
|
ports:
|
||||||
# Optional, used for dashboard:
|
# Optional, used for dashboard:
|
||||||
# https://discourse.drone.io/t/drone-agent-port/5914/5
|
# https://discourse.drone.io/t/drone-agent-port/5914/5
|
||||||
|
|
Loading…
Reference in a new issue