Use drone-runner instead of the deprecated agent

This commit is contained in:
Felix Bartels 2022-11-28 15:25:18 +01:00
parent 8145c4400f
commit 6711181eab

View file

@ -3,13 +3,14 @@ version: '3'
services:
drone-agent:
container_name: drone-agent
image: drone/agent:1
image: drone/drone-runner-docker:1.8
command: agent
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_RPC_SERVER=${DRONE_RPC_SERVER}
- DRONE_RPC_PROTO=https
- DRONE_RPC_HOST=${DRONE_RPC_HOST}
- DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
- DRONE_RUNNER_CAPACITY=${DRONE_RUNNER_CAPACITY}
- DRONE_RUNNER_NAME=${DRONE_RUNNER_NAME}