-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
129 lines (124 loc) · 3.48 KB
/
Copy pathdocker-compose.yml
File metadata and controls
129 lines (124 loc) · 3.48 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
services:
qdrant:
image: qdrant/qdrant:v1.17-gpu-nvidia
ports:
- "6333:6333"
- "6334:6334"
volumes:
- ./qdrant_data:/qdrant/storage
environment:
QDRANT_LOG_LEVEL: trace
RUST_BACKTRACE: full
restart: unless-stopped
memory-server:
build: .
ports:
- "8001:8000"
depends_on:
- qdrant
env_file: .env
environment:
MNEMOFORGE_RUNTIME_KIND: docker
MNEMOFORGE_DOCKER_SERVICE: memory-server
QDRANT_HOST: qdrant
OLLAMA_BASE_URL: http://host.docker.internal:11434
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./system_data:/app/system_data
restart: unless-stopped
memory-server-dev:
build:
context: .
target: self-development
ports:
- "8000:8000"
depends_on:
- qdrant
env_file: .env
environment:
MNEMOFORGE_RUNTIME_KIND: docker
MNEMOFORGE_DOCKER_SERVICE: memory-server-dev
PROJECT_CAPABILITIES: repository-development-tools
QDRANT_HOST: qdrant
OLLAMA_BASE_URL: http://host.docker.internal:11434
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./system_data:/app/system_data
- ./qdrant_data:/app/qdrant_data
- ./app:/app/app
- ./static:/app/static
- ./mcp:/app/mcp
- ./cli:/app/cli
- ./scripts:/app/scripts
restart: unless-stopped
qdrant-test:
image: qdrant/qdrant:v1.17.0
profiles: ["test"]
environment:
QDRANT_LOG_LEVEL: warn
tmpfs:
- /qdrant/storage
memory-server-test:
build: .
profiles: ["test"]
depends_on:
- qdrant-test
ports:
- "8010:8000"
environment:
API_KEY: test-api-key
MNEMOFORGE_RUNTIME_KIND: docker-test
MNEMOFORGE_DOCKER_SERVICE: memory-server-test
SELF_PROJECT_ID: mnemoforge-test
QDRANT_HOST: qdrant-test
QDRANT_PORT: 6333
QDRANT_COLLECTION_NAME: agent_memories_test
QDRANT_LEARNING_COLLECTION_NAME: learning_artifacts_test
OLLAMA_BASE_URL: http://host.docker.internal:11434
DISABLED_MODULES: watcher,layout_fixer,openai_compat
WATCHER_AUTO_START: "false"
AUTO_REBUILD_SELF_PROJECT_DOCS: "0"
AUTO_BOOTSTRAP_SELF_PROJECT_LAWS: "0"
DATA_HYGIENE_AUDIT_MINUTES: "0"
DATA_HYGIENE_AUTO_TEST_CLEANUP: "0"
GLM_MIRROR_INTERVAL_HOURS: "0"
CLOUD_LLM_PROVIDER: ""
CLOUD_LLM_API_KEY: ""
GLM_API_KEY: ""
GEMINI_API_KEY: ""
DEEPSEEK_API_KEY: ""
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./app:/app/app
- ./static:/app/static
- ./mcp:/app/mcp
- ./cli:/app/cli
- ./scripts:/app/scripts
- ./docs:/app/docs
- ./pytest.ini:/app/pytest.ini:ro
tmpfs:
- /app/qdrant_data
mcp-e2e-test-runner:
build: .
profiles: ["test"]
depends_on:
- memory-server-test
environment:
SLOPLESSCODE_DATA_DIR: /tmp/sloplesscode_system_data
MNEMOFORGE_SERVER_URL: http://memory-server-test:8000
MNEMOFORGE_DB_TEST_TARGETS: http://memory-server-test:8000
MNEMOFORGE_LIVE_TARGETS: http://memory-server-dev:8000,http://memory-server:8000
API_KEY: test-api-key
volumes:
- ./app:/app/app
- ./tests:/app/tests
- ./scripts:/app/scripts
- ./docs:/app/docs
- ./Dockerfile:/app/Dockerfile:ro
- ./pytest.ini:/app/pytest.ini:ro
tmpfs:
- /tmp/sloplesscode_system_data
command: ["python", "scripts/docker_remote_mcp_e2e.py"]