Fix environment variable loading

This commit is contained in:
Tanguy Herbron 2021-08-22 17:56:51 +02:00
parent a5bc170e7a
commit 00b7a36c8c

View File

@ -3,10 +3,10 @@ services:
container_name: drone-runner container_name: drone-runner
image: drone/drone-runner-docker:1 image: drone/drone-runner-docker:1
environment: environment:
- DRONE_RPC_PROTO={{RPC_PROTO}} - DRONE_RPC_PROTO=${RPC_PROTO}
- DRONE_RPC_HOST={{RPC_HOST}} - DRONE_RPC_HOST=${RPC_HOST}
- DRONE_RPC_SECRET={{RPC_SECRET}} - DRONE_RPC_SECRET=${RPC_SECRET}
- DRONE_RUNNER_CAPACITY={{RUNNER_CAPACITY}} - DRONE_RUNNER_CAPACITY=${RUNNER_CAPACITY}
- DRONE_RUNNER_NAME=${HOSTNAME} - DRONE_RUNNER_NAME=${HOSTNAME}
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock