File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -921,6 +921,18 @@ def reset_app_cycle(app_name):
921921 'error' : f"Failed to reset cycle for { app_name } . The app may not be running."
922922 }), 500
923923
924+ # Docker health check endpoint
925+ @app .route ('/ping' , methods = ['GET' ])
926+ def health_check ():
927+ """
928+ Simple health check endpoint for Docker health checks.
929+ Returns a status OK response to indicate the application is running properly.
930+ This follows the pattern of other *arr applications.
931+ """
932+ logger = get_logger ("system" )
933+ logger .debug ("Health check endpoint accessed" )
934+ return jsonify ({"status" : "OK" })
935+
924936# Start the web server in debug or production mode
925937def start_web_server ():
926938 """Start the web server in debug or production mode"""
Original file line number Diff line number Diff line change 1- 6.5.10
1+ 6.5.11
You can’t perform that action at this time.
0 commit comments