2021-08-22 15:47:54 +00:00
|
|
|
services:
|
|
|
|
drone-runner:
|
|
|
|
container_name: drone-runner
|
|
|
|
image: drone/drone-runner-docker:1
|
|
|
|
environment:
|
2021-08-22 15:56:51 +00:00
|
|
|
- DRONE_RPC_PROTO=${RPC_PROTO}
|
|
|
|
- DRONE_RPC_HOST=${RPC_HOST}
|
|
|
|
- DRONE_RPC_SECRET=${RPC_SECRET}
|
|
|
|
- DRONE_RUNNER_CAPACITY=${RUNNER_CAPACITY}
|
2021-08-22 20:33:47 +00:00
|
|
|
- DRONE_RUNNER_NAME=${HOST}
|
2021-08-22 15:47:54 +00:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
- /opt/services:/opt/services
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- 3030:3000
|
|
|
|
|