-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (58 loc) · 1.44 KB
/
Copy pathdocker-compose.yml
File metadata and controls
63 lines (58 loc) · 1.44 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
version: '3.8'
services:
codeverdict-api:
build: .
ports:
- "8000:8000"
environment:
- NEO4J_URI=bolt://neo4j:7687
- MLFLOW_TRACKING_URI=http://mlflow:5000
- ARGILLA_API_URL=http://argilla:6900
depends_on:
- mlflow
- neo4j
- argilla
volumes:
- ./:/app
command: uvicorn codeverdict.api.main:app --host 0.0.0.0 --port 8000 --reload
mlflow:
image: mlflow/mlflow:latest
ports:
- "5000:5000"
environment:
- MLFLOW_TRACKING_URI=sqlite:///mlflow.db
volumes:
- mlflow_data:/mlflow
command: mlflow server --backend-store-uri sqlite:///mlflow.db --default-artifact-root /mlflow --host 0.0.0.0
neo4j:
image: neo4j:5.15
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_AUTH=neo4j/codeverdict
- NEO4J_PLUGINS=["apoc"]
volumes:
- neo4j_data:/data
- neo4j_logs:/logs
argilla:
image: argilla/argilla-server:latest
ports:
- "6900:6900"
environment:
- ARGILLA_ELASTICSEARCH=http://elasticsearch:9200
- ARGILLA_HOME=/var/lib/argilla
depends_on:
- elasticsearch
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.9.0
environment:
- discovery.type=single-node
- xpack.security.enabled=false
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
volumes:
mlflow_data:
neo4j_data:
neo4j_logs:
elasticsearch_data: