Allow migration

This commit is contained in:
Alexandre
2025-02-15 10:34:30 +01:00
parent b13d7f4a74
commit 5a2c1a27a6
4 changed files with 28 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ USER root
# Global LSIO modifications
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh"
ARG CONFIGLOCATION="/config/addons_config/immich"
ARG CONFIGLOCATION="/config"
RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh
# Install REDIS