Files
dropshell-templates/immich/start.sh
j 710c28aae0
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 8s
Add 26 files
2026-01-15 11:28:49 +13:00

15 lines
436 B
Bash
Executable File

#!/bin/bash
# shellcheck disable=SC1091
source "${AGENT_PATH}/common.sh"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
_check_required_env_vars "CONTAINER_NAME"
cd "$SCRIPT_DIR" || _die "Failed to change to script directory"
[ -f docker-compose.yml ] || _die "docker-compose.yml not found. Run install.sh first."
docker compose up -d || _die "Failed to start containers"
echo "Immich containers started successfully."