Update 2 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 8s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 8s
This commit is contained in:
@@ -22,8 +22,8 @@ services:
|
||||
healthcheck:
|
||||
disable: false
|
||||
|
||||
immich-machine-learning:
|
||||
container_name: ${CONTAINER_NAME}_machine_learning
|
||||
immich-ml:
|
||||
container_name: ${CONTAINER_NAME}_ml
|
||||
image: ghcr.io/immich-app/immich-machine-learning:${ML_IMAGE_TAG}
|
||||
volumes:
|
||||
- ${CONTAINER_NAME}_model_cache:/cache
|
||||
|
||||
@@ -5,7 +5,8 @@ source "${AGENT_PATH}/common.sh"
|
||||
_check_required_env_vars "CONTAINER_NAME"
|
||||
|
||||
# Check if container is running
|
||||
_is_container_running "$CONTAINER_NAME" || _die "Service is not running - did not find container $CONTAINER_NAME."
|
||||
|
||||
echo "Service is healthy"
|
||||
exit 0
|
||||
if _is_container_running "$CONTAINER_NAME"; then
|
||||
echo "Running"
|
||||
else
|
||||
echo "Stopped"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user