🤖 drone.dotya.ml configuration files https://drone.dotya.ml
Go to file
surtur 2c4c23362b
feat: added Unit file for drone
2020-05-29 12:58:04 +02:00
.gitignore feat: added .gitignore 2020-05-29 12:56:12 +02:00
README.md initial commit 2020-05-29 12:52:54 +02:00
docker-compose.yml feat: added docker-compose.yml + env files 2020-05-29 12:57:21 +02:00
drone.service feat: added Unit file for drone 2020-05-29 12:58:04 +02:00
runner-docker.env feat: added docker-compose.yml + env files 2020-05-29 12:57:21 +02:00
server.env feat: added docker-compose.yml + env files 2020-05-29 12:57:21 +02:00

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 from drone 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