-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
56 lines (53 loc) · 1.74 KB
/
compose.yaml
File metadata and controls
56 lines (53 loc) · 1.74 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
services:
postgres:
image: postgres:16-alpine
environment:
POSTGRES_DB: ${POSTGRES_DB:-memwing}
POSTGRES_USER: ${POSTGRES_USER:-memwing}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-memwing_dev_password}
ports:
- "${POSTGRES_PORT:-5432}:5432"
volumes:
- memwing_postgres_data:/var/lib/postgresql/data
- ./memwing/infrastructure/db/migrations/0001_data_foundation.sql:/docker-entrypoint-initdb.d/0001_data_foundation.sql:ro
healthcheck:
test: ["CMD-SHELL", "pg_isready -U \"$${POSTGRES_USER}\" -d \"$${POSTGRES_DB}\""]
interval: 5s
timeout: 5s
retries: 10
start_period: 10s
qdrant:
image: qdrant/qdrant:v1.17.1
ports:
- "${QDRANT_PORT:-6333}:6333"
volumes:
- memwing_qdrant_data:/qdrant/storage
healthcheck:
test: ["CMD", "bash", "-lc", "timeout 5 bash -c '</dev/tcp/127.0.0.1/6333'"]
interval: 5s
timeout: 5s
retries: 10
start_period: 10s
neo4j:
image: neo4j:5.26-community
environment:
NEO4J_AUTH: "${MEMWING_GRAPHITI_NEO4J_USER:-neo4j}/${MEMWING_GRAPHITI_NEO4J_PASSWORD:-memwing_dev_password}"
NEO4J_server_memory_heap_initial__size: ${NEO4J_HEAP_INITIAL_SIZE:-512m}
NEO4J_server_memory_heap_max__size: ${NEO4J_HEAP_MAX_SIZE:-1g}
ports:
- "${NEO4J_HTTP_PORT:-7474}:7474"
- "${NEO4J_BOLT_PORT:-7687}:7687"
volumes:
- memwing_neo4j_data:/data
- memwing_neo4j_logs:/logs
healthcheck:
test: ["CMD-SHELL", "cypher-shell -u \"$${NEO4J_AUTH%%/*}\" -p \"$${NEO4J_AUTH#*/}\" 'RETURN 1'"]
interval: 10s
timeout: 10s
retries: 12
start_period: 20s
volumes:
memwing_postgres_data:
memwing_qdrant_data:
memwing_neo4j_data:
memwing_neo4j_logs: