Immich: add IPP

This commit is contained in:
vhsdream
2026-02-03 11:36:46 -05:00
parent e6065b8f76
commit a8b29baca5
2 changed files with 56 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func)
# Copyright (c) 2021-2026 community-scripts ORG
# Author: vhsdream
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
@@ -249,6 +249,23 @@ EOF
msg_ok "Disabled Maintenance Mode"
fi
systemctl restart immich-ml immich-web
if [[ -f /opt/immich-proxy ]]; then
if check_for_gh_release "immich-public-proxy" "alangrainger/immich-public-proxy"; then
systemctl stop immich-proxy
msg_info "Backing up Immich Public Proxy configs"
cp -a /opt/immich-proxy/app/{.env,config.json} ~/
msg_ok "Backed up Immich Public Proxy configs"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "immich-public_proxy" "alangrainger/immich-public-proxy" "tarball" "latest" "/opt/immich-proxy"
msg_info "Building Immich Public Proxy"
cd /opt/immich-proxy
$STD npm ci
$STD npm run build
mv ~/{config.json,.env} /opt/immich-proxy/app
chown -R immich:immich /opt/immich-proxy
systemctl start immich-proxy
msg_ok "Built Immich Public Proxy"
fi
fi
msg_ok "Updated successfully!"
fi
exit