🤖 drone.dotya.ml configuration files https://drone.dotya.ml
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
surtur a69334a63e
compose(drone-server): bump to 2.13.0
2 months ago
etc compose(drone-server): bump to 2.13.0 2 months ago
.gitignore feat: added .gitignore 3 years ago
README.md update README.md 8 months ago

README.md

drone-ci-configs

this repo holds

  • docker-compose.yml for drone.dotya.ml instance of Drone CI
  • drone-related env files (server.env, runner-docker.env)
  • systemd Unit file to easily start/stop the instance service and systemd Slice 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.service and drone.slice files to /etc/systemd/system and override.conf into /etc/systemd/system/drone.service.d

  • reload systemd daemon

    systemctl daemon-reload
    
  • let drone.service start automatically on system startup and start the service immediately

    systemctl 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 from drone server 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.env file)