From 46533c082b40477c6c664ae5bd8e5ecf7a65c318 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 20 Nov 2023 07:46:08 -0500 Subject: [PATCH] Update dockge-install.sh option to add Immich --- install/dockge-install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/install/dockge-install.sh b/install/dockge-install.sh index eec8bec6..20108196 100644 --- a/install/dockge-install.sh +++ b/install/dockge-install.sh @@ -47,6 +47,16 @@ $STD curl https://raw.githubusercontent.com/louislam/dockge/master/compose.yaml $STD docker compose up -d msg_ok "Installed Dockge" +read -r -p "Would you like to add Immich? " prompt +if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then + msg_info "Adding Immich compose.yaml" + mkdir -p /opt/stacks/immich + wget -q -O /opt/stacks/immich/compose.yaml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml + wget -q -O /opt/stacks/immich/.env https://github.com/immich-app/immich/releases/latest/download/example.env + wget -q -O /opt/stacks/immich/hwaccel.yaml https://github.com/immich-app/immich/releases/latest/download/hwaccel.yml + msg_ok "Added Immich compose.yaml" +fi + read -r -p "Would you like to add Home Assistant? " prompt if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then msg_info "Adding Home Assistant compose.yaml" @@ -61,6 +71,7 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock - /dev:/dev + - /etc/localtime:/etc/localtime:ro - ha_config:/config network_mode: host image: ghcr.io/home-assistant/home-assistant:stable