summaryrefslogtreecommitdiffstats
path: root/Drone/drone-runner-ssh
diff options
context:
space:
mode:
Diffstat (limited to 'Drone/drone-runner-ssh')
-rw-r--r--Drone/drone-runner-ssh/run-docker-runner-ssh.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/Drone/drone-runner-ssh/run-docker-runner-ssh.sh b/Drone/drone-runner-ssh/run-docker-runner-ssh.sh
new file mode 100644
index 0000000..ee41f4f
--- /dev/null
+++ b/Drone/drone-runner-ssh/run-docker-runner-ssh.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+docker run -d \
+ -e DRONE_RPC_PROTO=https \
+ -e DRONE_RPC_HOST=$RUNNERINTRANET \
+ -e DRONE_RPC_SECRET=$RPCSEC \
+ -e DRONE_RUNNER_NAME=$RUNNERHOST \
+ -e DRONE_UI_PASSWORD=$RUNNERPASS \
+ -e DRONE_UI_USERNAME=$RUNNERUSER \
+ -e DRONE_UI_REALM=DroneRealm \
+ -e DRONE_DEBUG=true \
+ -p 127.0.0.3:3001:3000 \
+ --dns 192.168.0.115 \
+ --restart always \
+ --name runner \
+ -v /opt/drone/runner_data:/data \
+ drone/drone-runner-ssh