-
Notifications
You must be signed in to change notification settings - Fork 189
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
65 lines (60 loc) · 1.26 KB
/
docker-compose.yml
File metadata and controls
65 lines (60 loc) · 1.26 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
services:
mongodb:
image: mongo:latest
volumes:
- mongodb-data:/data/db
ports:
- "27017:27017"
restart: always
redis:
image: redis:latest
volumes:
- redis-data:/data
ports:
- "6379:6379"
restart: always
backend:
build: ./backend
ports:
- "8080:8080"
- "6080:6080"
volumes:
- ./kali-data:/kali-data
- /var/run/docker.sock:/var/run/docker.sock
- ./backend/.env:/srv/data/.env
- ./backend/model-registry.json:/srv/data/model-registry.json
- ./config.toml:/srv/data/config.toml:ro
depends_on:
- redis
- mongodb
frontend:
build:
context: ./frontend
ports:
- "3000:3000"
env_file:
- ./frontend/.env
depends_on:
- backend
restart: unless-stopped
# uncomment this incase you wish to use KALI box, uncomment volume as well
# kali:
# build: ./kali
# container_name: kali
# privileged: true
# ports:
# - "4242:22"
# - "4200:4200"
# - "1194:1194/udp"
# - "9020:9020"
# - "5901:5901"
# volumes:
# - ./kali-data:/kali-data
# restart: unless-stopped
volumes:
mongodb-data:
driver: local
redis-data:
driver: local
# kali-data:
# driver: local