Add 1 and update 7 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 12s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 12s
This commit is contained in:
12
immich/_compose.sh
Normal file
12
immich/_compose.sh
Normal 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
|
||||
Reference in New Issue
Block a user