Drone: Runner wieder auf Docker (#479)

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #479
This commit is contained in:
Michael Grote 2023-03-21 18:04:48 +01:00
parent 4edd38242c
commit 6b7a21b4ca
2 changed files with 20 additions and 1 deletions

View file

@ -1,6 +1,6 @@
--- ---
kind: pipeline kind: pipeline
type: kubernetes type: docker
name: default name: default
steps: steps:

View file

@ -23,6 +23,25 @@ services:
- intern - intern
# runner
drone-runner-docker:
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
environment:
- DRONE_RPC_PROTO=http
# container-name des servers
- DRONE_RPC_HOST=drone-server
- DRONE_RPC_SECRET={{ lookup('keepass', 'drone_rpc_secret', 'password') }}
- DRONE_RUNNER_CAPACITY=4
- DRONE_RUNNER_NAME=drone-runner
ports:
- '3000:3000'
restart: always
container_name: drone-runner
image: 'drone/drone-runner-docker:latest'
networks:
- intern
######## Volumes ######## ######## Volumes ########
volumes: volumes:
data: data: