mirror of
https://github.com/fbartels/cloudron-drone-app.git
synced 2024-11-27 23:30:59 +00:00
Use drone-runner instead of the deprecated agent
This commit is contained in:
parent
8145c4400f
commit
6711181eab
1 changed files with 3 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue