Browse Source

cleanup

pull/9/head
fedy95 5 years ago
parent
commit
c5a2ca797c
  1. 3
      .drone.yml
  2. 10
      .editorconfig
  3. 10
      Makefile
  4. 2
      README.md

3
.drone.yml

@ -16,9 +16,10 @@ server:
steps:
- name: release
commands:
- cd /mnt/md0/infra/home-assistant
- cd /mnt/md0/infra/homeassistant
- git pull
- make restart
- make check
trigger:
branch:

10
.editorconfig

@ -0,0 +1,10 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
[*.json]
indent_style = space
indent_size = 4

10
Makefile

@ -2,8 +2,14 @@ MAKEFLAGS += --silent
.PHONY: *
restart:
docker-compose -f docker-compose.yml down
start:
docker-compose -f docker-compose.yml up -d
down:
docker-compose -f docker-compose.yml down
restart: down start
check:
docker exec homeassistant_instance python -m homeassistant --script check_config --config /config
.DEFAULT_GOAL := restart

2
README.md

@ -1,4 +1,4 @@
### reverse_proxy
### homeassistant
[![Build Status](https://drone.fedy95.com/api/badges/infra/home-assistant/status.svg)](https://drone.fedy95.com/infra/home-assistant)
## services