From 00b7a36c8c7228359d4c16b2981ecd5e63ec2bf6 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sun, 22 Aug 2021 17:56:51 +0200 Subject: [PATCH] Fix environment variable loading --- docker-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1679b82..d550545 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,10 +3,10 @@ services: container_name: drone-runner image: drone/drone-runner-docker:1 environment: - - DRONE_RPC_PROTO={{RPC_PROTO}} - - DRONE_RPC_HOST={{RPC_HOST}} - - DRONE_RPC_SECRET={{RPC_SECRET}} - - DRONE_RUNNER_CAPACITY={{RUNNER_CAPACITY}} + - DRONE_RPC_PROTO=${RPC_PROTO} + - DRONE_RPC_HOST=${RPC_HOST} + - DRONE_RPC_SECRET=${RPC_SECRET} + - DRONE_RUNNER_CAPACITY=${RUNNER_CAPACITY} - DRONE_RUNNER_NAME=${HOSTNAME} volumes: - /var/run/docker.sock:/var/run/docker.sock