From 0c0746c44ffc7e40dc9e775306bc58bd10540d3b Mon Sep 17 00:00:00 2001 From: Gabriele Pongelli Date: Sun, 23 Feb 2020 14:57:26 +0100 Subject: [PATCH 1/5] Optional port for Duplicati --- .templates/duplicati/service.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.templates/duplicati/service.yml b/.templates/duplicati/service.yml index 5642f9b6b..b8ebb44da 100644 --- a/.templates/duplicati/service.yml +++ b/.templates/duplicati/service.yml @@ -3,6 +3,8 @@ restart: unless-stopped image: lsioarmhf/duplicati network_mode: host + #ports: + # - 8200:8200 volumes: - /:/source - ./volumes/duplicati:/config From 965bab0028eb1446828d53bf6cb05c7b37f16a38 Mon Sep 17 00:00:00 2001 From: Gabriele Pongelli Date: Sun, 23 Feb 2020 14:57:26 +0100 Subject: [PATCH 2/5] Duplicati and HomeAssistant selectable through menu --- menu.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/menu.sh b/menu.sh index 074f661ea..d030143ff 100755 --- a/menu.sh +++ b/menu.sh @@ -8,6 +8,8 @@ declare -A cont_array=( [nodered]="Node-RED" [influxdb]="InfluxDB" [telegraf]="Telegraf (Requires InfluxDB and Mosquitto)" + [duplicati]="duplicati" + [homeassistant]="homeassistant" [grafana]="Grafana" [mosquitto]="Eclipse-Mosquitto" [postgres]="Postgres" @@ -30,7 +32,7 @@ declare -A cont_array=( [python]="Python 3" ) -declare -a armhf_keys=("portainer" "nodered" "influxdb" "grafana" "mosquitto" "telegraf" "mariadb" "postgres" +declare -a armhf_keys=("portainer" "nodered" "influxdb" "grafana" "mosquitto" "telegraf" "duplicati" "homeassistant" "mariadb" "postgres" "adminer" "openhab" "zigbee2mqtt" "pihole" "plex" "tasmoadmin" "rtl_433" "espruinohub" "motioneye" "webthings_gateway" "blynk_server" "nextcloud" "diyhue" "homebridge" "python") From c587bf6ca6c46aacd2d3ccaeba890e09d5092cdf Mon Sep 17 00:00:00 2001 From: Gabriele Pongelli Date: Sun, 23 Feb 2020 14:57:26 +0100 Subject: [PATCH 3/5] HomeAssistant new service --- .templates/homeassistant/service.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .templates/homeassistant/service.yml diff --git a/.templates/homeassistant/service.yml b/.templates/homeassistant/service.yml new file mode 100644 index 000000000..e6049f0c3 --- /dev/null +++ b/.templates/homeassistant/service.yml @@ -0,0 +1,9 @@ + homeassistant: + container_name: home-assistant + image: homeassistant/raspberrypi4-homeassistant + volumes: + - ./volumes/homeassistant:/config' + environment: + - TZ=Europe/Rome + restart: always + network_mode: host From ccf00ec9c7a502a633ccdbb5a40da542a78f27d8 Mon Sep 17 00:00:00 2001 From: Gabriele Pongelli Date: Sun, 23 Feb 2020 16:39:12 +0100 Subject: [PATCH 4/5] Switch to linuxserver/duplicati --- .templates/duplicati/service.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.templates/duplicati/service.yml b/.templates/duplicati/service.yml index b8ebb44da..af7575ba5 100644 --- a/.templates/duplicati/service.yml +++ b/.templates/duplicati/service.yml @@ -1,11 +1,17 @@ duplicati: container_name: Duplicati restart: unless-stopped - image: lsioarmhf/duplicati + image: linuxserver/duplicati network_mode: host + environment: + - PUID=1000 + - PGID=1000 + - TZ=Europe/London #ports: # - 8200:8200 volumes: + - /etc:/etc_host + - /home/pi/Scripts:/pi_scripts - /:/source - ./volumes/duplicati:/config - /etc/localtime:/etc/localtime:ro From 5fd7d028eb627ddc5bd2972400b52addeba3f03b Mon Sep 17 00:00:00 2001 From: Gabriele Pongelli Date: Sun, 23 Feb 2020 22:22:58 +0100 Subject: [PATCH 5/5] Fix wrong path --- .templates/homeassistant/service.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/homeassistant/service.yml b/.templates/homeassistant/service.yml index e6049f0c3..669bdd6eb 100644 --- a/.templates/homeassistant/service.yml +++ b/.templates/homeassistant/service.yml @@ -2,7 +2,7 @@ container_name: home-assistant image: homeassistant/raspberrypi4-homeassistant volumes: - - ./volumes/homeassistant:/config' + - ./volumes/homeassistant:/config environment: - TZ=Europe/Rome restart: always