-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose.yaml
49 lines (46 loc) · 1.18 KB
/
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
services:
aerospike-database:
image: aerospike/aerospike-server-enterprise:latest
container_name: aerospike-cluster
command: --config-file /etc/aerospike/aerospike.conf
ports:
- 3000:3000
volumes:
- ${PWD}/config/aerospike:/etc/aerospike
healthcheck:
test: [ "CMD", "asinfo", "-p", "3000", "-v", "build" ]
interval: 30s
timeout: 20s
retries: 3
networks:
- hybrid-search
aerospike-vector:
image: aerospike/aerospike-vector-search:0.11.1
container_name: aerospike-vector
volumes:
- ${PWD}/config/vector:/etc/aerospike-vector-search
depends_on:
aerospike-database:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://aerospike-vector:5040/manage/rest/v1"]
interval: 5s
timeout: 20s
retries: 10
networks:
- hybrid-search
search-server:
build:
context: .
dockerfile: server.Dockerfile
container_name: search-server
env_file: config/config.env
ports:
- 8080:8080
depends_on:
aerospike-vector:
condition: service_healthy
networks:
- hybrid-search
networks:
hybrid-search: {}