git/Drone/drone-runner-ssh/run-docker-runner-ssh.sh
Georg 58f01ad6ef
Init
Signed-off-by: Georg <georg@lysergic.dev>
2021-08-12 21:37:51 +02:00

17 lines
444 B
Bash

#!/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