summaryrefslogtreecommitdiffstats
path: root/Drone/drone-runner-ssh
diff options
context:
space:
mode:
authorGeorg2021-08-12 21:37:51 +0200
committerGeorg2021-08-12 21:37:51 +0200
commit58f01ad6ef5cbfb60c7b867c48ba4f49a201a363 (patch)
treebc3a2644237040b81778e556ce000838941bcc6a /Drone/drone-runner-ssh
parent08aa81a2d48ec93f6d3d581857ba6bcdc079bd43 (diff)
downloadgit-58f01ad6ef5cbfb60c7b867c48ba4f49a201a363.tar.gz
git-58f01ad6ef5cbfb60c7b867c48ba4f49a201a363.tar.bz2
git-58f01ad6ef5cbfb60c7b867c48ba4f49a201a363.zip
Init
Signed-off-by: Georg <georg@lysergic.dev>
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