From 1e5556d552fd830c4daba975e7e97bacaa093cb9 Mon Sep 17 00:00:00 2001 From: lab Date: Sat, 11 Dec 2021 17:40:55 +0800 Subject: [PATCH] feat: add ui log http for drone docker runner --- drone/docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drone/docker-compose.yml b/drone/docker-compose.yml index 2a59c0e..91b11b0 100644 --- a/drone/docker-compose.yml +++ b/drone/docker-compose.yml @@ -35,12 +35,20 @@ services: - traefik drone-runner-docker: image: drone/drone-runner-docker:1 + ports: + "3000:3000" environment: - "DRONE_RPC_HOST=${DRONE_SERVER_HOST}" - "DRONE_RPC_PROTO=${DRONE_SERVER_PROTO}" - "DRONE_RPC_SECRET=${DRONE_RPC_SECRET}" - "DRONE_RUNNER_CAPACITY=${DRONE_RUNNER_CAPACITY}" - "DRONE_RUNNER_NAME=${DRONE_RUNNER_DOCKER_NAME}}" + - "DRONE_UI_USERNAME=${DRONE_UI_USERNAME}" + - "DRONE_UI_PASSWORD=${DRONE_UI_PASSWORD}" + - "DRONE_DEBUG=true" + - "DRONE_TRACE=true" + - "DRONE_RPC_DUMP_HTTP=true" + - "DRONE_RPC_DUMP_HTTP_BODY=true" volumes: - /var/run/docker.sock:/var/run/docker.sock networks: