🤖 drone.dotya.ml configuration files
https://drone.dotya.ml
surtur
2c3835d445
* add drone.slice (control resource usage) * restrict can be accessed by the service * adjust IO priority and NICEness of processes created withing the service * use "-p" with docker-compose invocation to specify a project that the newly-spawned containers belong to (best practice) * add commented override |
||
---|---|---|
.gitignore | ||
docker-compose.yml | ||
drone.service | ||
drone.slice | ||
README.md | ||
runner-docker.env | ||
server.env |
drone.dotya.ml
this repo holds
- docker-compose.yml for drone instance
- drone-related env files
systemd
Unit file to easily start/stop the instance as a service
prepare environment
mkdir -pv /etc/drone
-
put
docker-compose.yml
+ env files in there -
put
drone.service
systemd
unit file in/etc/systemd/system/drone.service
-
reload
systemd
daemon
systemctl daemon-reload
enable running drone
"service" after system startup and start drone
now
systemctl enable --now drone.service
notes
- in current set-up you also need a web proxy server (such as
nginx
) to forward traffic to and fromdrone
that runs 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