Update podman_ha_setup.sh

This commit is contained in:
tteckster 2022-02-12 09:42:16 -05:00 committed by GitHub
parent d4dd3458d6
commit 20aa1b7761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 1 deletions

View File

@ -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