diff --git a/services/imajin-semantic/app.manifest.yaml b/services/imajin-semantic/app.manifest.yaml new file mode 100644 index 00000000..8f5abd0f --- /dev/null +++ b/services/imajin-semantic/app.manifest.yaml @@ -0,0 +1,27 @@ +name: imajin-semantic +description: Semantic analysis — image understanding and tagging for the Imajin pipeline +type: ml-service +category: services +version: 1.0.0 + +platforms: + apricot: + os: linux + host: 10.0.0.13 + environment: development + services: + api: + type: http + port: "8007" + description: Semantic analysis REST API (image tagging, understanding) + start: + path: ~/Code/@applications/@imajin/services/imajin-semantic/service + script: .venv/bin/python -m uvicorn src.api.main:app --host 0.0.0.0 --port 8007 --workers 1 --log-level info + stop: + path: ~/Code/@applications/@imajin/services/imajin-semantic/service + script: pkill -f "uvicorn src.api.main:app.*8007" ; true + status: + command: "curl -sf http://localhost:8007/health > /dev/null && echo ok" + type: http + logs: + command: "journalctl --user -u imajin-semantic -n 100 2>/dev/null || echo 'No systemd unit'"