erkannt/rknt-server · 文件
文件最后提交记录最后更新时间
README.md
Bootstrapping
- install docker-engine
- install docker-compose
- install yq (used for garbage collection)
git-crypt unlockdocker network create traefik
Install Drone Exec Runner
- create a user called
drone - add
dronetodockergroup - install exec runner according to docs
- create config in
/home/drone/.drone-exec-runner/config:
binding to port 3001 to avoid collision with docker runnerDRONE_RPC_PROTO=https DRONE_RPC_HOST=drone.rknt.de DRONE_RPC_SECRET=super-secret-sauce DRONE_HTTP_BIND=:3001 DRONE_LOG_FILE=.drone-runner-exec/log.txt DRONE_LIMIT_TRUSTED=true DRONE_LIMIT_EVENTS=rknt/rknt-server drone-exec-runner service install- define user and group in
/etc/systemd/system/drone-exec-runner.service[Service] User=drone Group=drone
- create config in
- set
rknt/rknt-serverrepo to trusted on https://drone.rknt.de
Notes on Nextcloud
- needed to manually set
trusted_domaininconfig_phpas env setting didn't take hold 'overwriteprotocol' => 'https'needed inconfig.phpto allow initial password reset
Notes on Github/Gitlab integration
DRONE_SERVER_PROTOis set tohttpas traefik terminates SSL for us. This means you have to manually tweak the webhook settings in Github/Gitlab to use anhttpsaddress.