From a2da519ba5dc1f739834f1677f052eac97bfb8dc Mon Sep 17 00:00:00 2001 From: Claude Code Date: Wed, 18 Mar 2026 21:08:40 -0700 Subject: [PATCH] =?UTF-8?q?chore(docker):=20=F0=9F=94=A7=20Update=20Docker?= =?UTF-8?q?=20service=20constraints=20and=20environment=20variables=20in?= =?UTF-8?q?=20docker-compose.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- docker-compose.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index bac237ad..b548dcd5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -274,6 +274,33 @@ services: retries: 3 restart: unless-stopped + # --------------------------------------------------------------------------- + # Adversarial ML Service (face recognition cloaking + detection evasion) + # --------------------------------------------------------------------------- + adversarial: + build: + context: services/imajin-adversarial/service + dockerfile: Dockerfile + container_name: imajin-adversarial + ports: + - "8011:8011" + environment: + - REDIS_URL=redis://redis:6379 + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: 1 + capabilities: [gpu] + healthcheck: + test: ["CMD", "python3.12", "-c", "import httpx; httpx.get('http://localhost:8011/health').raise_for_status()"] + interval: 15s + timeout: 10s + start_period: 120s + retries: 3 + restart: unless-stopped + volumes: redis-data: huggingface-cache: