Drone agent für docker installiert
This commit is contained in:
parent
ccbfd79125
commit
0ee2e88256
|
@ -30,3 +30,19 @@ services:
|
|||
networks:
|
||||
- backend-gitea
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue