Update podman_ha_setup.sh

This commit is contained in:
tteckster 2022-04-03 18:18:59 -04:00 committed by GitHub
parent 2e64f86ecb
commit 68c6fc28a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,19 +66,20 @@ echo -en "${GN} Installing Podman... "
apt-get -y install podman &>/dev/null apt-get -y install podman &>/dev/null
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"
echo -en "${GN} Pulling Yacht Image... " #echo -en "${GN} Pulling Yacht Image... "
podman pull ghcr.io/selfhostedpro/yacht:latest &>/dev/null #podman pull ghcr.io/selfhostedpro/yacht:latest &>/dev/null
echo -e "${CM}${CL} \r" #echo -e "${CM}${CL} \r"
echo -en "${GN} Installing Yacht... " echo -en "${GN} Installing Yacht... "
podman volume create yacht >/dev/null podman volume create yacht >/dev/null
podman run -d \ podman run -v /var/run/podman/podman.sock:/var/run/docker.sock -v yacht:/config -p 8000:8000 --name -d ghcr.io/selfhostedpro/yacht:latest &>/dev/null
--name yacht \ #podman run -d \
--restart always \ # --name yacht \
-v /var/run/podman/podman.sock:/var/run/docker.sock \ # --restart always \
-v yacht:/config \ # -v /var/run/podman/podman.sock:/var/run/docker.sock \
-p 8000:8000 \ # -v yacht:/config \
selfhostedpro/yacht:latest &>/dev/null # -p 8000:8000 \
# selfhostedpro/yacht:latest &>/dev/null
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"
echo -en "${GN} Pulling Home Assistant Image... " echo -en "${GN} Pulling Home Assistant Image... "