feat: add ui log http for drone docker runner

This commit is contained in:
lab 2021-12-11 17:40:55 +08:00
parent 929485a692
commit 1e5556d552

View File

@ -35,12 +35,20 @@ services:
- traefik - traefik
drone-runner-docker: drone-runner-docker:
image: drone/drone-runner-docker:1 image: drone/drone-runner-docker:1
ports:
"3000:3000"
environment: environment:
- "DRONE_RPC_HOST=${DRONE_SERVER_HOST}" - "DRONE_RPC_HOST=${DRONE_SERVER_HOST}"
- "DRONE_RPC_PROTO=${DRONE_SERVER_PROTO}" - "DRONE_RPC_PROTO=${DRONE_SERVER_PROTO}"
- "DRONE_RPC_SECRET=${DRONE_RPC_SECRET}" - "DRONE_RPC_SECRET=${DRONE_RPC_SECRET}"
- "DRONE_RUNNER_CAPACITY=${DRONE_RUNNER_CAPACITY}" - "DRONE_RUNNER_CAPACITY=${DRONE_RUNNER_CAPACITY}"
- "DRONE_RUNNER_NAME=${DRONE_RUNNER_DOCKER_NAME}}" - "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: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
networks: networks: