forked from neuron-core/neuron-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
154 lines (141 loc) · 3.67 KB
/
Copy pathdocker-compose.yml
File metadata and controls
154 lines (141 loc) · 3.67 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
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# ⚠️ Local development/testing only — do NOT use in production
name: neuron-ai-tests
services:
php:
build:
context: .
dockerfile: Dockerfile
args:
PHP_VERSION: ${PHP_VERSION:-8.3}
volumes:
- .:/app
- composer-cache:/tmp/composer-cache
working_dir: /app
network_mode: host
depends_on:
qdrant:
condition: service_started
chroma:
condition: service_started
meilisearch:
condition: service_started
mysql:
condition: service_healthy
mariadb:
condition: service_healthy
opensearch:
condition: service_healthy
weaviate:
condition: service_started
neo4j:
condition: service_started
elasticsearch:
condition: service_healthy
typesense:
condition: service_healthy
qdrant:
image: qdrant/qdrant:${QDRANT_VERSION:-v1.14.1}
ports:
- 6333:6333
- 6334:6334
chroma:
image: chromadb/chroma:${CHROMA_VERSION:-1.0.2}
ports:
- 8000:8000
meilisearch:
image: getmeili/meilisearch:${MEILISEARCH_VERSION:-v1.13.0}
ports:
- 7700:7700
mysql:
image: mysql:${MYSQL_VERSION:-8.0}
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
MYSQL_DATABASE: neuron-ai
ports:
- 3306:3306
healthcheck:
test: ["CMD", "mysqladmin", "ping"]
interval: 10s
timeout: 5s
retries: 3
mariadb:
image: mariadb:${MARIADB_VERSION:-11.7}
environment:
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: "yes"
MARIADB_DATABASE: neuron-ai
ports:
- 3307:3306
healthcheck:
test: ["CMD", "mariadb-admin", "ping"]
interval: 10s
timeout: 5s
retries: 3
opensearch:
image: opensearchproject/opensearch:${OPENSEARCH_VERSION:-2.19.1}
ports:
- 9201:9200
- 9600:9600
environment:
discovery.type: single-node
plugins.security.disabled: "true"
DISABLE_INSTALL_DEMO_CONFIG: "true"
healthcheck:
test: ["CMD-SHELL", "curl -sf http://localhost:9200/_cluster/health || exit 1"]
interval: 10s
timeout: 5s
retries: 10
weaviate:
image: cr.weaviate.io/semitechnologies/weaviate:${WEAVIATE_VERSION:-1.28.1}
ports:
- 8080:8080
environment:
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: "true"
PERSISTENCE_DATA_PATH: "/var/lib/weaviate"
ENABLE_MODULES: ""
CLUSTER_HOSTNAME: "node1"
neo4j:
image: neo4j:${NEO4J_VERSION:-5.26.19-ubi9}
ports:
- 7687:7687
- 7474:7474
environment:
NEO4J_AUTH: none
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION:-8.17.0}
ports:
- 9200:9200
environment:
discovery.type: single-node
xpack.security.enabled: "false"
xpack.security.enrollment.enabled: "false"
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
healthcheck:
test: ["CMD-SHELL", "curl -sf http://localhost:9200/_cluster/health || exit 1"]
interval: 10s
timeout: 5s
retries: 15
typesense:
image: typesense/typesense:${TYPESENSE_VERSION:-28.0}
command: >
--api-key=xyz
--data-dir=/data
--enable-search-analytics=true
--analytics-dir=/analytics-data
--analytics-flush-interval=60
--analytics-minute-rate-limit=100
--enable-cors
volumes:
- typesense-data:/data
- typesense-analytics-data:/analytics-data
ports:
- 8108:8108
healthcheck:
test: ["CMD", "bash", "-c", "echo > /dev/tcp/localhost/8108"]
interval: 5s
timeout: 5s
retries: 12
volumes:
composer-cache:
typesense-data:
typesense-analytics-data: