From 6a27ec0c0d3735ea2a609e40f5266d19f32ac8b6 Mon Sep 17 00:00:00 2001 From: Nebel Date: Tue, 27 Dec 2022 16:14:50 +0900 Subject: [PATCH] add system-runner --- compose.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index c044960..cd62709 100644 --- a/compose.yml +++ b/compose.yml @@ -25,7 +25,6 @@ services: DRONE_USER_CREATE: ${DRONE_USER_CREATE:?} volumes: - drone_data_v2:/data - runner: image: drone/drone-runner-docker:1.8.2@sha256:9479ddc50e50c205f4508e2062f7dbc757822c7b05ab93de0b8378d97214279b restart: unless-stopped @@ -38,6 +37,19 @@ services: DRONE_RPC_SECRET: ${DRONE_RPC_SECRET:?} volumes: - /var/run/docker.sock:/var/run/docker.sock + system-runner: + image: drone/drone-runner-docker:1.8.2@sha256:9479ddc50e50c205f4508e2062f7dbc757822c7b05ab93de0b8378d97214279b + restart: unless-stopped + ports: + - "127.0.0.1:5000:3000" + environment: + DRONE_RUNNER_NAME: system-runner + DRONE_RUNNER_LABELS: instance:system + DRONE_RPC_PROTO: http + DRONE_RPC_HOST: drone + DRONE_RPC_SECRET: ${DRONE_RPC_SECRET:?} + volumes: + - /var/run/docker.sock:/var/run/docker.sock volumes: caddy_data: caddy_config: