-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
84 lines (78 loc) · 1.75 KB
/
docker-compose.yaml
File metadata and controls
84 lines (78 loc) · 1.75 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
services:
backend:
container_name: backend
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "80:80" # Port that the HoneyPot listens to and responds on.
- "8080:8080" # Stats server API port
restart: always
volumes:
- "log_data:/app/logs"
environment:
TZ: Australia/Brisbane
LLM_URL: "http://llm-cpuonly:5000" # Change this to the service name you've picked
networks:
- pandorasbox-net
# llm-cuda:
# container_name: llm-cuda
# build:
# context: ./llm/model
# dockerfile: Dockerfile.nvd
# networks:
# - pandorasbox-net
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]
# environment:
# TZ: Australia/Brisbane
# restart: always
llm-cpuonly:
container_name: llm-cpuonly
build:
context: ./llm/model
dockerfile: Dockerfile.cpu
volumes:
- "log_data:/app/logs"
networks:
- pandorasbox-net
environment:
TZ: Australia/Brisbane
restart: always
# llm-rocm:
# container_name: llm-rocm
# build:
# context: ./llm/model
# dockerfile: Dockerfile.amd
# environment:
# TZ: Australia/Brisbane
# restart: always
# devices:
# - /dev/kfd
# - /dev/dri
# group_add:
# - video
# networks:
# - pandorasbox-net
website:
container_name: website
build:
context: ./website
dockerfile: Dockerfile
ports:
- "3000:3000" # Dashboard port
depends_on:
- backend
environment:
TZ: Australia/Brisbane
restart: always
networks:
pandorasbox-net:
driver: bridge
volumes:
log_data: