Files
dropshell-templates/immich/start.sh
j 878938307c
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 12s
Add 1 and update 7 files
2026-01-15 11:42:04 +13:00

16 lines
471 B
Bash
Executable File

#!/bin/bash
# shellcheck disable=SC1091
source "${AGENT_PATH}/common.sh"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${SCRIPT_DIR}/_compose.sh"
_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."