🤖 drone.dotya.ml configuration files
https://drone.dotya.ml
| etc | ||
| .gitignore | ||
| README.md | ||
drone-ci-configs
this repo holds
docker-compose.ymlfor drone.dotya.ml instance of Drone CI- drone-related env files (
server.env,runner-docker.env) systemdUnit file to easily start/stop the instance service andsystemdSlice file to control its resource usage
prepare environment
mkdir -pv /etc/drone /etc/systemd/system/drone.service.d
-
unless running with unprivileged user, copy
drone.serviceanddrone.slicefiles to/etc/systemd/systemandoverride.confinto/etc/systemd/system/drone.service.d -
reload
systemddaemonsystemctl daemon-reload -
let
drone.servicestart automatically on system startup and start the service immediatelysystemctl enable --now drone.service
alternatively, copy the folder structure etc to your /etc
notes
- using this set-up a reverse proxy (such as
nginx) is also needed to forward traffic to and fromdroneserver that listens exclusively on localhost - this set-up works with Gitea in mind, although it shouldn't be too hard to
change the configs to work with other git providers (see
server.envfile)