Instalamos docker-compose si no lo tenemos:
curl -L "https://github.com/docker/compose/releases/download/1.11.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose
Creamos fichero compose y lo ejecutamos:
docker-compose -f docker-compose.yml up
docker-compose.yml:
version: '2' services: drone-server: image: drone/drone:0.5 ports: - 8080:8000 volumes: - ./drone:/var/lib/drone/ restart: always environment: - DRONE_OPEN=true - DRONE_GITHUB=true - DRONE_GITHUB_CLIENT=iwanttobefreak - DRONE_GITHUB_SECRET=*************** - DRONE_SECRET=drone drone-agent: image: drone/drone:0.5 command: agent restart: always depends_on: [ drone-server ] volumes: - /var/run/docker.sock:/var/run/docker.sock environment: - DRONE_SERVER=ws://proxmox1:8080/ws/broker - DRONE_SECRET=drone