Browse Source

add drone

pull/6/head
fedy95 5 years ago
parent
commit
871489f07d
  1. 27
      .drone.yml
  2. 9
      Makefile
  3. 6
      README.md

27
.drone.yml

@ -0,0 +1,27 @@
kind: pipeline
type: ssh
name: default
clone:
disable: true
server:
host:
from_secret: host
user:
from_secret: user
password:
from_secret: password
steps:
- name: release
commands:
- cd /mnt/md0/infra/plex
- git pull
- make restart
trigger:
branch:
- master
event:
- push

9
Makefile

@ -0,0 +1,9 @@
MAKEFLAGS += --silent
.PHONY: *
restart:
docker-compose -f docker-compose.yml down
docker-compose -f docker-compose.yml up -d
.DEFAULT_GOAL := restart

6
README.md

@ -1,4 +1,6 @@
### info
### Plex
[![Build Status](https://drone.fedy95.com/api/badges/infra/plex/status.svg)](https://drone.fedy95.com/infra/plex)
### services
- [linuxserver/plex](https://hub.docker.com/r/linuxserver/plex)
- [nginx-reverseproxy](https://github.com/toomuchio/plex-nginx-reverseproxy)