Skip to content

simao-silva/drone-runner-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drone-runner-docker

GitHub last commit GitHub Workflow Status GitHub license

Multi-arch version of runner-docker from drone-runners.

How to use it

Source: https://docs.drone.io/runner/docker/installation/linux/

Standalone

docker run --detach \
  --volume=/var/run/docker.sock:/var/run/docker.sock \
  --env=DRONE_RPC_PROTO=https \
  --env=DRONE_RPC_HOST=drone.company.com \
  --env=DRONE_RPC_SECRET=super-duper-secret \
  --env=DRONE_RUNNER_CAPACITY=2 \
  --env=DRONE_RUNNER_NAME=my-docker-runner \
  --publish=3000:3000 \
  --restart=always \
  --name=runner \
  simaofsilva/drone-runner-docker:latest

Docker-compose

drone-runner-docker:
    image: simaofsilva/drone-runner-docker:latest
    restart: unless-stopped
    environment:
        - DRONE_RPC_HOST=drone.company.com
        - DRONE_RPC_PROTO=https
        - DRONE_RPC_SECRET=super-duper-secret
    ports:
        - "3000:3000"
    volumes:
        - /var/run/docker.sock:/var/run/docker.sock
    depends_on:
        - drone

Releases

No releases published

Packages

No packages published