From fb8c94a511fca01d63a96e2ac72cdd906881affc Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 25 Nov 2019 00:30:50 +0100 Subject: [PATCH] fix env variabled for docker-runner --- templates/services/droneci-compose.yml.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/services/droneci-compose.yml.j2 b/templates/services/droneci-compose.yml.j2 index 9e35758..8ae3cc2 100644 --- a/templates/services/droneci-compose.yml.j2 +++ b/templates/services/droneci-compose.yml.j2 @@ -73,7 +73,8 @@ services: privileged: true {% endif %} environment: - - DRONE_RPC_SERVER=http://droneserver + - DRONE_RPC_PROTO=http + - DRONE_RPC_HOST=droneserver - DRONE_RPC_SECRET={{ droneci_secret }} - DRONE_RUNNER_CAPACITY={{ droneci_agent_capacity }} # TODO: temp static value, needs to be replaced by a custom fact