chore(imajin-moderator): 🔧 Update deployment metadata in app.manifest.yaml with environment settings and service configurations
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
6e53fd3be1
commit
c736b4666b
1 changed files with 27 additions and 0 deletions
27
services/imajin-moderator/app.manifest.yaml
Normal file
27
services/imajin-moderator/app.manifest.yaml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: imajin-moderator
|
||||
description: Content moderation — PDQ hashing, NSFW detection, age estimation via InsightFace + transformers
|
||||
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: "8008"
|
||||
description: Content moderation REST API (NSFW, age, PDQ hash)
|
||||
start:
|
||||
path: ~/Code/@applications/@imajin/services/imajin-moderator/service
|
||||
script: .venv/bin/python -m uvicorn src.api.main:app --host 0.0.0.0 --port 8008 --workers 1 --log-level info
|
||||
stop:
|
||||
path: ~/Code/@applications/@imajin/services/imajin-moderator/service
|
||||
script: pkill -f "uvicorn src.api.main:app.*8008" ; true
|
||||
status:
|
||||
command: "curl -sf http://localhost:8008/health > /dev/null && echo ok"
|
||||
type: http
|
||||
logs:
|
||||
command: "journalctl --user -u imajin-moderator -n 100 2>/dev/null || echo 'No systemd unit'"
|
||||
Loading…
Add table
Reference in a new issue