-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
123 lines (115 loc) · 2.65 KB
/
docker-compose.yaml
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
networks:
bridge:
driver: bridge
services:
neo4j:
container_name: neo4j
image: neo4j:latest
ports:
- 7474:7474
- 7687:7687
environment:
- NEO4J_AUTH=neo4j/password
- NEO4J_apoc_export_file_enabled=true
- NEO4J_apoc_import_file_enabled=true
- NEO4J_apoc_import_file_use__neo4j__config=true
- NEO4J_PLUGINS=["apoc", "graph-data-science"]
volumes:
- ./neo4j_db/data:/data
- ./neo4j_db/logs:/logs
- ./neo4j_db/import:/var/lib/neo4j/import
- ./neo4j_db/plugins:/plugins
networks:
bridge:
aliases:
- neo4j
magic:
build:
context: ./mage_orchestration
dockerfile: Dockerfile
command: mage start ${PROJECT_NAME}
env_file:
- .env
ports:
- 6789:6789
volumes:
- ./mage_orchestration:/home/src/
restart: on-failure:5
networks:
bridge:
aliases:
- magic
zookeeper:
image: confluentinc/cp-zookeeper:latest
env_file:
- .env
networks:
bridge:
aliases:
- zookeeper
kafka:
image: confluentinc/cp-kafka
depends_on:
- zookeeper
env_file:
- .env
networks:
bridge:
aliases:
- kafka
kafka-producer:
container_name: kafka-producer
build:
context: ./kafka-producer
dockerfile: Dockerfile
environment:
- KAFKA_SERVER=kafka:9093
- ZOOKEPER_SERVER=zookeeper:2181
depends_on:
- kafka
- zookeeper
- neo4j
networks:
bridge:
aliases:
- kafka-producer
mlflow-server:
build:
context: ./mlflow
dockerfile: Dockerfile
container_name: mlflow-server
ports:
- "5001:5001"
environment:
MLFLOW_TRACKING_URI: http://0.0.0.0:5001
volumes:
- ./mlflow:/mlflow
command:
- /bin/sh
- -c
- |
mlflow server --backend-store-uri sqlite:///mlflow.db --host 0.0.0.0 --port 5001
networks:
bridge:
aliases:
- mlflow-server
grafana:
image: grafana/grafana:latest
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_FEATURE_TOGGLES_ENABLE=ngalert
- GF_INSTALL_PLUGINS=https://github.com/denniskniep/grafana-datasource-plugin-neo4j/releases/download/v1.3.2/kniepdennis-neo4j-datasource-1.3.2.zip;kniepdennis-neo4j-datasource
volumes:
- ./grafana/provisioning:/etc/grafana/provisioning
- ./grafana/dashboards:/var/lib/grafana/dashboards
ports:
- 3000:3000
depends_on:
- neo4j
networks:
bridge:
aliases:
- grafana
volumes:
grafana: