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:
|
healthcheck:
|
||||||
disable: false
|
disable: false
|
||||||
|
|
||||||
immich-machine-learning:
|
immich-ml:
|
||||||
container_name: ${CONTAINER_NAME}_machine_learning
|
container_name: ${CONTAINER_NAME}_ml
|
||||||
image: ghcr.io/immich-app/immich-machine-learning:${ML_IMAGE_TAG}
|
image: ghcr.io/immich-app/immich-machine-learning:${ML_IMAGE_TAG}
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONTAINER_NAME}_model_cache:/cache
|
- ${CONTAINER_NAME}_model_cache:/cache
|
||||||
|
|||||||
@@ -5,7 +5,8 @@ source "${AGENT_PATH}/common.sh"
|
|||||||
_check_required_env_vars "CONTAINER_NAME"
|
_check_required_env_vars "CONTAINER_NAME"
|
||||||
|
|
||||||
# Check if container is running
|
# Check if container is running
|
||||||
_is_container_running "$CONTAINER_NAME" || _die "Service is not running - did not find container $CONTAINER_NAME."
|
if _is_container_running "$CONTAINER_NAME"; then
|
||||||
|
echo "Running"
|
||||||
echo "Service is healthy"
|
else
|
||||||
exit 0
|
echo "Stopped"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user