-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 882 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
48 lines (45 loc) · 882 Bytes
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
services:
mnemon:
build:
context: .
target: runtime
args:
VERSION: ${VERSION:-dev}
image: mnemon-dev/mnemon:${VERSION:-dev}
env_file:
- .env
environment:
MNEMON_DATA_DIR: /mnemon
volumes:
- mnemon-data:/mnemon
command: ["status"]
mnemon-dev:
build:
context: .
target: dev
profiles:
- dev
working_dir: /workspace
env_file:
- .env
environment:
MNEMON_DATA_DIR: /mnemon
volumes:
- .:/workspace
- go-build-cache:/root/.cache/go-build
- go-mod-cache:/go/pkg/mod
- mnemon-data:/mnemon
command: ["bash"]
ollama:
image: ollama/ollama:latest
profiles:
- embeddings
volumes:
- ollama-data:/root/.ollama
ports:
- "11434:11434"
volumes:
mnemon-data:
go-build-cache:
go-mod-cache:
ollama-data: