-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
63 lines (59 loc) · 1.64 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
version: "3.9"
services:
aerospike-cluster:
image: aerospike/aerospike-server-enterprise:7.0.0.5
container_name: "aerospike-cluster"
command: --config-file /etc/aerospike/aerospike.conf
ports:
- "3000:3000"
- "3001:3001"
- "3002:3002"
- "3003:3003"
volumes:
- ${PWD}/config:/etc/aerospike
healthcheck:
# test: [ "CMD", "asinfo", "-U", "admin", "-P", "admin", "-p", "3000", "-v", "build" ]
test: [ "CMD", "asinfo", "-p", "3000", "-v", "build" ]
interval: 30s
timeout: 20s
retries: 3
networks:
- svc
aerospike-vector-search:
image: aerospike/aerospike-vector-search:1.0.0
container_name: "aerospike-vector-search"
depends_on:
aerospike-cluster:
condition: service_healthy
ports:
- "5555:5000"
- "5040:5040"
networks:
- svc
volumes:
- ${PWD}/config:/etc/aerospike-vector-search
healthcheck:
test: ["CMD", "curl", "-f", "http://aerospike-vector-search:5040/manage/rest/v1"]
interval: 30s
timeout: 20s
retries: 3
# aerospike-client:
# image: aerospike/aerospike-tools:10.2.1
# container_name: "aerospike-client"
# depends_on:
# aerospike-cluster:
# condition: service_healthy
# command: [
# "asadm",
# "-U", "admin",
# "-P", "admin",
# "-e", 'enable; manage acl create user tester password psw roles truncate sindex-admin user-admin data-admin read-write read write read-write-udf sys-admin udf-admin',
# "--no-config-file",
# "-h", "aerospike-cluster",
# "-p", "3000"
# ]
# networks:
# - svc
networks:
svc:
name: svc