mirror of
https://github.com/fbartels/cloudron-drone-app.git
synced 2024-11-22 05:10:59 +00:00
16 lines
449 B
YAML
16 lines
449 B
YAML
version: '3'
|
|
|
|
services:
|
|
drone-agent:
|
|
container_name: drone-agent
|
|
image: drone/drone-runner-docker:1.8
|
|
command: agent
|
|
restart: always
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- 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}
|