-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
71 lines (65 loc) · 2.43 KB
/
Copy pathdocker-compose.yml
File metadata and controls
71 lines (65 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# docker-compose.yml
# PulseGuard — Local Development Stack
# Maintained by: @Abdur (AI/ML Engineer) + @Vikram (Infrastructure)
#
# Spins up the PulseGuard AI Engine as a local service.
# Docling runs INSIDE the ai_engine container — never cloud-side.
#
# Usage:
# docker-compose up --build # First time
# docker-compose up # Subsequent runs
# docker-compose down # Stop all services
# docker-compose down -v # Stop + wipe volumes (Zero-Trace flush)
version: "3.9"
services:
# ── PulseGuard AI Engine ─────────────────────────────────
ai_engine:
build:
context: ./src/PulseGuard.AI
dockerfile: Dockerfile
container_name: pulseguard_ai_engine
ports:
- "8000:8000"
env_file:
- ./src/PulseGuard.AI/.env # Never committed — local only
volumes:
- ai_intake:/app/data/intake # PDF drop zone (local only)
- ai_vector_store:/app/data/vector_store # FAISS index (local only)
- ai_rulebooks:/app/data/hipaa_rulebooks # HIPAA rulebook PDFs (local only)
- ai_logs:/app/logs
networks:
- pulseguard_network
depends_on:
- veea_proxy
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
# ── Veea Proxy (Redaction Layer) ─────────────────────────
# Maintained by: @Vikram
# Placeholder service — Vikram configures the actual proxy.
# The AI Engine MUST route all patient documents through this
# proxy before any AI processing.
veea_proxy:
image: nginx:alpine # Placeholder — Vikram replaces this
container_name: pulseguard_veea_proxy
ports:
- "9000:9000"
networks:
- pulseguard_network
restart: unless-stopped
# ── Networks ──────────────────────────────────────────────
networks:
pulseguard_network:
driver: bridge
name: pulseguard_network
# ── Volumes (Local Only — Zero-Trace) ─────────────────────
# All volumes are local. No cloud persistence.
# Run `docker-compose down -v` to flush all session data.
volumes:
ai_intake:
ai_vector_store:
ai_rulebooks:
ai_logs: