Add runner labels for routing

This commit is contained in:
Tanguy Herbron 2021-08-23 00:19:52 +02:00
parent b4fb0a69c2
commit 75e8b3f6ce
2 changed files with 3 additions and 0 deletions

View File

@ -2,3 +2,5 @@ RPC_PROTO=https
RPC_HOST=drone.halia.dev
RPC_SECRET=
RUNNER_CAPACITY=1
HOST=
RUNNER_LABELS=

View File

@ -8,6 +8,7 @@ services:
- DRONE_RPC_SECRET=${RPC_SECRET}
- DRONE_RUNNER_CAPACITY=${RUNNER_CAPACITY}
- DRONE_RUNNER_NAME=${HOST}
- DRONE_RUNNER_LABELS=${RUNNER_LABELS}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /opt/services:/opt/services