Add 1 and update 7 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 12s

This commit is contained in:
j
2026-01-15 11:42:04 +13:00
parent 8d4f24af4e
commit 878938307c
8 changed files with 27 additions and 8 deletions

12
immich/_compose.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Helper to detect and use the correct docker compose command
# Detect which compose command is available
if docker compose version &>/dev/null; then
docker_compose() { docker compose "$@"; }
elif command -v docker-compose &>/dev/null; then
docker_compose() { docker-compose "$@"; }
else
echo "Error: Neither 'docker compose' nor 'docker-compose' found"
exit 1
fi