Drone agent für docker installiert

This commit is contained in:
bmen 2020-10-08 19:29:00 +02:00
parent ccbfd79125
commit 0ee2e88256
1 changed files with 17 additions and 1 deletions

View File

@ -30,3 +30,19 @@ services:
networks: networks:
- backend-gitea - backend-gitea
- webproxy - webproxy
drone-agent:
container_name: drone-agent
image: drone/drone-runner-docker:1
restart: always
environment:
- DRONE_RPC_PROTO=https
- DRONE_RPC_HOST=drone.company.com
- DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
- DRONE_RUNNER_CAPACITY=1
- DRONE_RUNNER_NAME=${HOSTNAME}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- backend-gitea