summaryrefslogtreecommitdiffstats
path: root/Drone/drone-runner-ssh/run-docker-runner-ssh.sh
blob: ee41f4f3ad23e72a61ba2ffc5a209cad2d3847e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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