-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
162 lines (154 loc) · 3.56 KB
/
Copy pathdocker-compose.yml
File metadata and controls
162 lines (154 loc) · 3.56 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
155
156
157
158
159
160
161
162
services:
notebooks:
build:
context: .
dockerfile: build/Dockerfile
container_name: aips-notebooks
ports:
- "7077:7077" # Spark Master
- "8082:8080" # Spark Master UI - 8082 less likely to conflict
- "8081:8081" # Spark Worker UI
- "4041:4041" # Spark UI
- "8888:8888" # Jupyter Notebook UI
- "2345:2345" # Search Webserver
networks:
- aips-network
restart: unless-stopped
environment:
AIPS_SOLR_HOST: 'aips-solr'
AIPS_ZK_HOST: 'aips-zk:2181'
volumes:
- type: bind
source: "."
target: "/tmp/notebooks/"
profiles:
- all
- ""
solr:
build:
context: ./engines/solr/build/
dockerfile: Dockerfile
container_name: aips-solr
hostname: aips-solr
environment:
- SOLR_HOST=aips-solr
- ZK_HOST=aips-zk:2181
ports:
- "8983:8983"
networks:
- aips-network
restart: unless-stopped
depends_on:
- zookeeper
- notebooks
profiles:
- all
- ""
opensearch:
build:
context: ./engines/opensearch/build/
dockerfile: engine-Dockerfile
container_name: opensearch-node1
hostname: aips-opensearch
environment:
- cluster.name=opensearch-cluster
- node.name=opensearch-node1
- discovery.type=single-node
- network.host=0.0.0.0
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
- "OPENSEARCH_INITIAL_ADMIN_PASSWORD=''"
- "DISABLE_SECURITY_PLUGIN=true"
- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 262114
hard: 262114
volumes:
- opensearch-data:/usr/share/opensearch/data
ports:
- "9200:9200"
- "9600:9600" # required for Performance Analyzer
expose:
- "9200"
networks:
- aips-network
depends_on:
- notebooks
- opensearch-dashboards
profiles:
- all
weaviate:
command:
- --host
- 0.0.0.0
- --port
- '8090'
- --scheme
- http
image: cr.weaviate.io/semitechnologies/weaviate:1.34.0-rc.0
container_name: aips-weaviate
hostname: aips-weaviate
ports:
- "8090:8090"
- "50051:50051"
networks:
- aips-network
volumes:
- weaviate-data:/var/lib/weaviate
restart: on-failure:0
environment:
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'none'
ENABLE_MODULES: ''
CLUSTER_HOSTNAME: 'node1'
depends_on:
- notebooks
profiles:
- all
opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:2.18.0
container_name: opensearch-dashboards
ports:
- "5601:5601"
environment:
DISABLE_SECURITY_DASHBOARDS_PLUGIN: "true"
OPENSEARCH_HOSTS: '["http://opensearch-node1:9200"]'
networks:
- aips-network
profiles:
- all
vespa:
image: vespaengine/vespa
container_name: aips-vespa
hostname: aips-vespa
networks:
- aips-network
ports:
- "8080:8080"
- "19071:19071"
depends_on:
- notebooks
profiles:
- all
zookeeper:
image: zookeeper:3.5.8
container_name: aips-zk
hostname: aips-zk
ports:
- "2181:2128"
networks:
- aips-network
restart: unless-stopped
profiles:
- all
- ""
volumes:
opensearch-data:
weaviate-data:
networks:
aips-network: