mirror of https://github.com/tteck/Proxmox.git
Merge pull request #33 from tteck/dev
Add Yacht to Podman Home Assistant Container LXC
This commit is contained in:
commit
b2cc10cbf9
18
README.md
18
README.md
|
@ -78,7 +78,7 @@ ________________________________________________________________________________
|
|||
<summary markdown="span"> 🔸Home Assistant Container LXC (Podman)</summary>
|
||||
|
||||
<p align="center"><img src="https://heise.cloudimg.io/width/223/q50.png-lossy-50.webp-lossy-50.foil1/_www-heise-de_/imgs/18/2/5/8/2/8/1/0/podman_logo-670078d7ea1d15a6.png" width="100" height="100"/>
|
||||
<img src="https://avatars.githubusercontent.com/u/13844975?s=200&v=4" alt="@home-assistant" width="100" height="100"/><img/></p>
|
||||
<img src="https://avatars.githubusercontent.com/u/13844975?s=200&v=4" alt="@home-assistant" width="100" height="100"/><img/><img src="https://raw.githubusercontent.com/SelfhostedPro/Yacht/master/readme_media/Yacht_logo_1_dark.png" height="80"/><img/></p>
|
||||
|
||||
<h1 align="center" id="heading"> Podman Home Assistant Container LXC </h1>
|
||||
<h3 align="center" id="heading"> With ZFS Filesystem Support </h3>
|
||||
|
@ -95,6 +95,8 @@ After the script completes, If you're dissatisfied with the default settings, cl
|
|||
|
||||
**Home Assistant Interface - IP:8123**
|
||||
|
||||
**Yacht Interface - IP:8000**
|
||||
|
||||
⚙️ **Path to HA /config**
|
||||
```yaml
|
||||
/var/lib/containers/storage/volumes/hass_config/_data
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
____________________________________________________________________________________________
|
||||
</details>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue