diff --git a/README.md b/README.md index 64d9441a..54234a2c 100644 --- a/README.md +++ b/README.md @@ -78,8 +78,8 @@ ________________________________________________________________________________ 🔸Home Assistant Container LXC (Podman)

-@home-assistant

- +@home-assistant

+

Podman Home Assistant Container LXC

With ZFS Filesystem Support

To create a new Proxmox Podman Home Assistant Container, run the following from Proxmox web shell. @@ -94,6 +94,8 @@ bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/p After the script completes, If you're dissatisfied with the default settings, click on the LXC, then on the **_Resources_** tab and change the **_Memory_** and **_Cores_** settings to what you desire. Changes are immediate. **Home Assistant Interface - IP:8123** + +**Yacht Interface - IP:8000** ⚙️ **Path to HA /config** ```yaml @@ -130,6 +132,20 @@ Run from the LXC console ```yaml ./update.sh ``` +⚙️ **Initial Yacht Login** + +**username** + ```yaml + admin@yacht.local + ``` + **password** + ```yaml + pass + ``` +⚙️ **Add Yacht Template** +```yaml +https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/yacht/Template/template.json +``` ____________________________________________________________________________________________ diff --git a/ct/podman_ha_container.sh b/ct/podman_ha_container.sh index f0a2b965..161caabf 100644 --- a/ct/podman_ha_container.sh +++ b/ct/podman_ha_container.sh @@ -168,11 +168,9 @@ pct push $CTID podman_ha_setup.sh /podman_ha_setup.sh -perms 755 pct exec $CTID /podman_ha_setup.sh IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}') -info "Successfully created Podman Home Assistant Container LXC to $CTID." -msg " - -Home Assistant should be reachable by going to the following URL. - - - http://${IP}:8123 -" +info "Successfully Created Podman Home Assistant Container LXC to $CTID." +echo -e "\e[1;92m Home Assistant Container should be reachable by going to the following URL. + http://${IP}:8123 +Yacht should be reachable by going to the following URL. + http://${IP}:8000 +\e[0m" diff --git a/setup/podman_ha_setup.sh b/setup/podman_ha_setup.sh index 19f052b3..563f88f8 100644 --- a/setup/podman_ha_setup.sh +++ b/setup/podman_ha_setup.sh @@ -56,6 +56,20 @@ 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 \ + selfhostedpro/yacht:latest &>/dev/null + echo -e "${CHECKMARK} \e[1;92m Pulling Home Assistant Image...\e[0m" podman pull docker.io/homeassistant/home-assistant:stable &>/dev/null