-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
46 lines (43 loc) · 969 Bytes
/
docker-compose.yaml
File metadata and controls
46 lines (43 loc) · 969 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
version: "3.8"
services:
# Backend Go service
sbom-app:
build: .
ports:
- "3000:3000"
environment:
- OLLAMA_HOST=http://host.docker.internal:11434
- DEFAULT_MODEL=mistral
- LOG_FILE=static/output.log
- SBOM_OUTPUT_FILE=sbom.cyclonedx.json
- LLAMA_INDEX_ENDPOINT=http://llama-index-service:8000
volumes:
- ./static:/app/static
- ./sboms:/app/sboms
- sbom-data:/app
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- sbom-network
# Frontend Vue.js service
vue-frontend:
build:
context: ./static/vue-frontend
target: development
ports:
- "8080:8080"
volumes:
- ./static/vue-frontend:/app
- /app/node_modules
environment:
- NODE_ENV=development
command: npm run serve
networks:
- sbom-network
depends_on:
- sbom-app
networks:
sbom-network:
driver: bridge
volumes:
sbom-data: