From 7ea0ee835579c19d42541d091f207595c3a1501f Mon Sep 17 00:00:00 2001
From: Salvoxia <Salvoxia@blindfish.info>
Date: Tue, 30 Jul 2024 20:40:20 +0200
Subject: [PATCH] Docker Added new environment variable INSECURE to skip SSL
 verification

---
 docker/immich_auto_album.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docker/immich_auto_album.sh b/docker/immich_auto_album.sh
index bde12b7..0f31a69 100644
--- a/docker/immich_auto_album.sh
+++ b/docker/immich_auto_album.sh
@@ -38,6 +38,10 @@ if [ ! -z "$LOG_LEVEL" ]; then
     args="-l $LOG_LEVEL $args"
 fi
 
+if [ "$INSECURE" = "true" ]; then
+    args="-k $args"
+fi
+
 
 BASEDIR=$(dirname "$0")
 echo $args | xargs python3 -u $BASEDIR/immich_auto_album.py
\ No newline at end of file