Browse Source

mv-instance

pull/13/head
fedy95 4 years ago
parent
commit
e057669fde
  1. 4
      .drone.yml
  2. 3
      Makefile
  3. 2
      docker-compose.yml

4
.drone.yml

@ -32,12 +32,12 @@ server:
steps:
- name: release
commands:
- cd /mnt/md0/infra/keeweb
- cd /home/fedy95/keeweb
- git pull
- make restart
- name: cleanup
commands:
- cd /mnt/md0/infra/homeassistant
- cd /home/fedy95/keeweb
- make cleanup
trigger:

3
Makefile

@ -12,7 +12,8 @@ lint-yaml:
$(LINT-YAML-CMD) docker-compose.yml
restart:
docker-compose -f docker-compose.yml down
docker-compose -f docker-compose.yml pull
docker-compose -f docker-compose.yml stop
docker-compose -f docker-compose.yml up -d
cleanup:

2
docker-compose.yml

@ -2,7 +2,7 @@
version: "3"
services:
keeweb:
image: antelle/keeweb:1.17.6
image: antelle/keeweb:1.17
container_name: keeweb
hostname: keeweb
restart: always