diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4fccb20 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.gitsecret/keys/random_seed +!*.secret +homeassistant/SERVICE_ACCOUNT.JSON diff --git a/.gitsecret/keys/pubring.kbx b/.gitsecret/keys/pubring.kbx new file mode 100644 index 0000000..6d70cdd Binary files /dev/null and b/.gitsecret/keys/pubring.kbx differ diff --git a/.gitsecret/keys/pubring.kbx~ b/.gitsecret/keys/pubring.kbx~ new file mode 100644 index 0000000..d0a3668 Binary files /dev/null and b/.gitsecret/keys/pubring.kbx~ differ diff --git a/.gitsecret/keys/trustdb.gpg b/.gitsecret/keys/trustdb.gpg new file mode 100644 index 0000000..3072fa7 Binary files /dev/null and b/.gitsecret/keys/trustdb.gpg differ diff --git a/.gitsecret/paths/mapping.cfg b/.gitsecret/paths/mapping.cfg new file mode 100644 index 0000000..285a61f --- /dev/null +++ b/.gitsecret/paths/mapping.cfg @@ -0,0 +1 @@ +homeassistant/SERVICE_ACCOUNT.JSON:5a3eabcbc53278f7713423b0ea20d0558f6334f8a1f6aed2a2e4cfb2ca9c93ab diff --git a/homeassistant/SERVICE_ACCOUNT.JSON.secret b/homeassistant/SERVICE_ACCOUNT.JSON.secret new file mode 100644 index 0000000..1ca858b Binary files /dev/null and b/homeassistant/SERVICE_ACCOUNT.JSON.secret differ diff --git a/homeassistant/automations.yaml b/homeassistant/automations.yaml deleted file mode 100644 index 0637a08..0000000 --- a/homeassistant/automations.yaml +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/homeassistant/run_homeassistant.sh b/homeassistant/run_homeassistant.sh new file mode 100755 index 0000000..f53c215 --- /dev/null +++ b/homeassistant/run_homeassistant.sh @@ -0,0 +1,12 @@ +#!/bin/sh +docker run -d \ + --name homeassistant \ + --privileged \ + --restart=unless-stopped \ + -e TZ=SE \ + -v /home/hjalmarlucius/.config/homeassistant:/config \ + -v /run/dbus:/run/dbus:ro \ + -v /mnt/hdd1/music:/media/music \ + -v /mnt/hdd1/videos:/media/videos \ + --network=host \ + ghcr.io/home-assistant/home-assistant:stable diff --git a/musicassistant/run_musicassistant.sh b/musicassistant/run_musicassistant.sh new file mode 100755 index 0000000..81c0e16 --- /dev/null +++ b/musicassistant/run_musicassistant.sh @@ -0,0 +1,9 @@ +#!/bin/sh +docker run -d \ + --name musicassistant \ + --privileged \ + --restart=unless-stopped \ + -v /home/hjalmarlucius/.config/musicassistant:/data \ + -v /mnt/hdd1/music/:/media/ \ + --network=host \ + ghcr.io/music-assistant/server