drone.dotya.ml docker-compose configuration 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 ce2c05646a
feat: as a precaution, have some runner dirs under tmpfs
9 months ago
.gitignore feat: added .gitignore 9 months ago
README.md initial commit 9 months ago
docker-compose.yml feat: as a precaution, have some runner dirs under tmpfs 9 months ago
drone.service feat: added Unit file for drone 9 months ago
runner-docker.env feat: added docker-compose.yml + env files 9 months ago
server.env feat: added docker-compose.yml + env files 9 months ago

README.md

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