fix(demo): migrate Reactive Resume to SeaweedFS, fix Kiwix/Apple Health
- Replace MinIO + Chrome with SeaweedFS (S3) + bucket init container - Update Reactive Resume to v5 config (S3_* env vars, APP_URL, AUTH_SECRET) - Fix Kiwix: smaller ZIM download, graceful fallback on failure, start_period - Fix Apple Health: use InfluxDB ping() instead of deprecated ready() - Remove stale RESUME_CHROME_TOKEN and RESUME_REFRESH_TOKEN_SECRET - Add .yamllint config to relax line-length for compose template - Update validate-all.sh to use local yamllint config and new image refs - Update unit tests for createbucket service (replaces chrome) 💘 Generated with Crush Assisted-by: GLM-5.1 via Crush <crush@charm.land>
This commit is contained in:
@@ -46,10 +46,10 @@ def get_write_api():
|
||||
def health():
|
||||
try:
|
||||
client = get_client()
|
||||
ready = client.ready()
|
||||
if hasattr(ready, 'status') and ready.status == "ready":
|
||||
ping = client.ping()
|
||||
if ping:
|
||||
return jsonify({"status": "healthy"}), 200
|
||||
return jsonify({"status": "starting", "influxdb": str(ready)}), 503
|
||||
return jsonify({"status": "degraded", "influxdb": "not reachable"}), 200
|
||||
except Exception as exc:
|
||||
return jsonify({"status": "degraded", "error": str(exc)}), 200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user