initial commit

This commit is contained in:
surtur 2020-05-29 12:52:54 +02:00
commit 6ec71e87cd
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

32
README.md Normal file
View File

@ -0,0 +1,32 @@
# drone.dotya.ml
this repo holds
* docker-compose.yml for [drone](https://drone.io) instance
* drone-related env files
* `systemd` Unit file to easily start/stop the instance as a service
#### prepare environment
```bash
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
```bash
systemctl daemon-reload
```
enable running `drone` "service" after system startup and start `drone` now
```bash
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