-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 1.21 KB
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 1.21 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
# A.R.E.S - Production Docker Compose
# =============================================================================
# This is the production configuration. For development, use docker-compose.dev.yml
#
# Usage:
# docker compose up -d
# just docker-logs (to view logs)
# =============================================================================
services:
ares:
build: .
container_name: ares
ports:
- "3000:3000"
environment:
HOST: 0.0.0.0
PORT: 3000
DATABASE_URL: ${DATABASE_URL:?DATABASE_URL is required}
QDRANT_URL: http://qdrant:6334
OPENAI_API_KEY: ${OPENAI_API_KEY:-}
JWT_SECRET: ${JWT_SECRET:?JWT_SECRET environment variable is required}
RUST_LOG: ${RUST_LOG:-info}
depends_on:
qdrant:
condition: service_healthy
volumes:
- ares_data:/app/data
restart: unless-stopped
qdrant:
image: qdrant/qdrant:latest
container_name: ares-qdrant
ports:
- "6334:6334"
volumes:
- qdrant_data:/qdrant/storage
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:6334/healthz"]
interval: 10s
timeout: 5s
retries: 3
restart: unless-stopped
volumes:
ares_data:
qdrant_data: