Skip to content

Commit 990ce16

Browse files
authored
Portainer is on https port (#4371)
1 parent af1cf0b commit 990ce16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ct/homeassistant.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function update_script() {
3838
msg_info "Updating All Containers"
3939
CONTAINER_LIST="${1:-$(docker ps -q)}"
4040
for container in ${CONTAINER_LIST}; do
41-
CONTAINER_IMAGE="$(docker inspect --format "{{.Config.Image}}" --type container ${container})"
41+
CONTAINER_IMAGE="$(docker inspect --format "{{.Config.Image}}" --type container "${container}")"
4242
RUNNING_IMAGE="$(docker inspect --format "{{.Image}}" --type container "${container}")"
4343
docker pull "${CONTAINER_IMAGE}"
4444
LATEST_IMAGE="$(docker inspect --format "{{.Id}}" --type image "${CONTAINER_IMAGE}")"
@@ -47,7 +47,7 @@ function update_script() {
4747
echo "Updating ${container} image ${CONTAINER_IMAGE}"
4848
DOCKER_COMMAND="$(runlike --use-volume-id "${container}")"
4949
docker rm --force "${container}"
50-
eval ${DOCKER_COMMAND}
50+
eval "${DOCKER_COMMAND}"
5151
fi
5252
done
5353
msg_ok "Updated All Containers"
@@ -109,4 +109,4 @@ msg_ok "Completed Successfully!\n"
109109
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
110110
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
111111
echo -e "${TAB}${GATEWAY}${BGN}HA: http://${IP}:8123${CL}"
112-
echo -e "${TAB}${GATEWAY}${BGN}Portainer: http://${IP}:9443${CL}"
112+
echo -e "${TAB}${GATEWAY}${BGN}Portainer: https://${IP}:9443${CL}"

0 commit comments

Comments
 (0)