-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
91 lines (86 loc) · 2.51 KB
/
docker-compose.yml
File metadata and controls
91 lines (86 loc) · 2.51 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: '3.8'
services:
# CLI Application
app:
build:
context: .
dockerfile: Dockerfile
container_name: iris-agent-app
environment:
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- LLM_PROVIDER=${LLM_PROVIDER:-anthropic}
- REDIS_URL=redis://redis:6379
- QDRANT_URL=http://qdrant:6333
volumes:
- ./reports:/app/reports
depends_on:
- redis
- qdrant
stdin_open: true
tty: true
# Webhook Server (production mode)
webhook:
build:
context: .
dockerfile: Dockerfile
container_name: iris-agent-webhook
command: gunicorn -w 2 -b 0.0.0.0:8080 webhook_server:app
ports:
- "${WEBHOOK_PORT:-8080}:8080"
environment:
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- LLM_PROVIDER=${LLM_PROVIDER:-anthropic}
- REDIS_URL=redis://redis:6379
- QDRANT_URL=http://qdrant:6333
# Datadog
- DATADOG_ENABLED=${DATADOG_ENABLED:-false}
- DATADOG_API_KEY=${DATADOG_API_KEY:-}
- DATADOG_APP_KEY=${DATADOG_APP_KEY:-}
# Prometheus
- PROMETHEUS_ENABLED=${PROMETHEUS_ENABLED:-false}
- PROMETHEUS_URL=${PROMETHEUS_URL:-}
# Elasticsearch
- ELASTICSEARCH_ENABLED=${ELASTICSEARCH_ENABLED:-false}
- ELASTICSEARCH_URL=${ELASTICSEARCH_URL:-}
# GitHub
- GITHUB_ENABLED=${GITHUB_ENABLED:-false}
- GITHUB_TOKEN=${GITHUB_TOKEN:-}
- GITHUB_ORG=${GITHUB_ORG:-}
# Slack notifications
- SLACK_ENABLED=${SLACK_ENABLED:-false}
- SLACK_WEBHOOK_URL=${SLACK_WEBHOOK_URL:-}
volumes:
- ./reports:/app/reports
depends_on:
- redis
- qdrant
restart: unless-stopped
# Cache
redis:
image: redis:7-alpine
container_name: iris-agent-redis
ports:
# Default maps to a random available port to avoid conflicts; set REDIS_PORT to pin it.
- "${REDIS_PORT:-0}:6379"
volumes:
- redis_data:/data
command: redis-server --appendonly yes
restart: unless-stopped
# Vector database
qdrant:
image: qdrant/qdrant:latest
container_name: iris-agent-qdrant
ports:
# Default maps to random available ports to avoid conflicts; set QDRANT_PORT/QDRANT_GRPC_PORT to pin them.
- "${QDRANT_PORT:-0}:6333"
- "${QDRANT_GRPC_PORT:-0}:6334"
volumes:
- qdrant_data:/qdrant/storage
environment:
- QDRANT__SERVICE__GRPC_PORT=6334
restart: unless-stopped
volumes:
redis_data:
qdrant_data: