Some checks failed
security-audit / Bandit (scan statique) (push) Successful in 12s
security-audit / pip-audit (CVE dépendances) (push) Successful in 10s
security-audit / Scan secrets (grep) (push) Successful in 8s
tests / Lint (ruff + black) (push) Successful in 13s
tests / Tests unitaires (sans GPU) (push) Failing after 14s
tests / Tests sécurité (critique) (push) Has been skipped
Point de sauvegarde incluant les fichiers non committés des sessions précédentes (systemd, docs, agents, GPU manager). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
36 lines
741 B
Desktop File
36 lines
741 B
Desktop File
[Unit]
|
|
Description=RPA Vision V3 - Upload API (FastAPI)
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
|
|
# ---- Runtime ----
|
|
User=dom
|
|
Group=dom
|
|
WorkingDirectory=/home/dom/ai/rpa_vision_v3
|
|
EnvironmentFile=/home/dom/ai/rpa_vision_v3/.env.local
|
|
Environment="PYTHONUNBUFFERED=1"
|
|
Environment="ENVIRONMENT=production"
|
|
Environment="RPA_SERVICE_NAME=rpa-vision-v3-api"
|
|
|
|
ExecStart=/home/dom/ai/rpa_vision_v3/.venv/bin/python3 server/api_upload.py
|
|
|
|
# ---- Resilience ----
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
TimeoutStopSec=30
|
|
|
|
# ---- Hardening ----
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
|
|
# Logs -> journald
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=rpa-vision-v3-api
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|