-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathdocker-compose.standalone.yml
More file actions
56 lines (52 loc) · 1.37 KB
/
docker-compose.standalone.yml
File metadata and controls
56 lines (52 loc) · 1.37 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
# docker-compose.standalone.yml — Remote install (no repo checkout needed)
#
# Used by: curl -fsSL .../install.sh | bash
# Location when installed: ~/.ix/backend/docker-compose.yml
#
# Uses published Docker images — no local build step required.
services:
arangodb:
image: arangodb:3.12
networks:
- backend
ports:
- "127.0.0.1:8529:8529"
environment:
ARANGO_NO_AUTH: "1"
command: ["arangod", "--server.endpoint", "tcp://0.0.0.0:8529", "--experimental-vector-index"]
volumes:
- arangodb-data:/var/lib/arangodb3
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8529/_api/version || exit 1"]
interval: 5s
timeout: 5s
start_period: 60s
retries: 15
restart: unless-stopped
memory-layer:
image: ghcr.io/ix-infrastructure/ix-memory-layer:latest
networks:
- backend
ports:
- "127.0.0.1:8090:8090"
environment:
ARANGO_HOST: arangodb
ARANGO_PORT: "8529"
ARANGO_DATABASE: ix_memory
ARANGO_USER: root
ARANGO_PASSWORD: ""
PORT: "8090"
depends_on:
arangodb:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:8090/v1/health"]
interval: 10s
timeout: 3s
start_period: 15s
retries: 5
restart: unless-stopped
volumes:
arangodb-data:
networks:
backend: