From 20aa1b7761074b50c2941adcbf458155ffc5a4d7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 12 Feb 2022 09:42:16 -0500 Subject: [PATCH] Update podman_ha_setup.sh --- setup/podman_ha_setup.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/setup/podman_ha_setup.sh b/setup/podman_ha_setup.sh index 19f052b3..d5e6a1be 100644 --- a/setup/podman_ha_setup.sh +++ b/setup/podman_ha_setup.sh @@ -56,8 +56,23 @@ apt-get -qqy install \ echo -e "${CHECKMARK} \e[1;92m Installing Podman... \e[0m" apt-get -y install podman &>/dev/null +echo -e "${CHECKMARK} \e[1;92m Pulling Yacht Image...\e[0m" +podman pull ghcr.io/selfhostedpro/yacht:latest &>/dev/null + +echo -e "${CHECKMARK} \e[1;92m Installing Yacht... \e[0m" +podman volume create yacht >/dev/null +podman run -d \ + --name yacht \ + -v /var/run/podman/podman.sock:/var/run/docker.sock \ + -v yacht:/config \ + -v /etc/localtime:/etc/localtime:ro \ + -v /etc/timezone:/etc/timezone:ro \ + -p 8000:8000 \ + --net=host \ + selfhostedpro/yacht:latest + echo -e "${CHECKMARK} \e[1;92m Pulling Home Assistant Image...\e[0m" -podman pull docker.io/homeassistant/home-assistant:stable &>/dev/null +podman pull ghcr.io/homeassistant/home-assistant:stable &>/dev/null echo -e "${CHECKMARK} \e[1;92m Installing Home Assistant... \e[0m" podman volume create hass_config >/dev/null