forked from jrswab/axe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (42 loc) · 821 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (42 loc) · 821 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
services:
axe:
build:
context: .
dockerfile: Dockerfile
profiles:
- cli
environment:
- ANTHROPIC_API_KEY
- OPENAI_API_KEY
- AXE_OLLAMA_BASE_URL=http://ollama:11434
volumes:
- ${AXE_CONFIG_PATH:-./axe-config}:/home/axe/.config/axe
- axe-data:/home/axe/.local/share/axe
read_only: true
tmpfs:
- /tmp/axe:size=10m
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
depends_on:
ollama:
condition: service_started
networks:
- axe-net
ollama:
image: ollama/ollama:latest
profiles:
- ollama
ports:
- "11434:11434"
volumes:
- ollama-data:/root/.ollama
networks:
- axe-net
volumes:
axe-data:
ollama-data:
networks:
axe-net:
driver: bridge