2021-01-13 01:22:22 +01:00
|
|
|
# pod-drone-runner
|
|
|
|
|
|
|
|
## Deploy
|
|
|
|
|
|
|
|
### Dokku
|
|
|
|
|
|
|
|
```
|
|
|
|
dokku apps:create runner
|
|
|
|
|
|
|
|
dokku config:set runner --no-restart DRONE_RPC_SECRET=<secret>
|
|
|
|
dokku config:set runner --no-restart DRONE_RPC_HOST=<secret>
|
|
|
|
dokku config:set runner --no-restart DRONE_RPC_PROTO=https
|
|
|
|
dokku config:set runner --no-restart DRONE_RUNNER_CAPACITY=2
|
|
|
|
|
2021-01-13 03:28:46 +01:00
|
|
|
dokku storage:mount runner /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
|
2021-01-13 01:22:22 +01:00
|
|
|
git push dokku main:main
|
|
|
|
```
|