forked from pwndoc/pwndoc
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
81 lines (75 loc) · 1.5 KB
/
docker-compose.yml
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
version: '3'
services:
mongodb:
image: mongo:8.0.4
container_name: mongo-pwndoc
volumes:
- ./backend/mongo-data:/data/db
restart: always
ports:
- 127.0.0.1:27017:27017
environment:
- MONGO_DB:pwndoc
networks:
- backend
pwndoc-backend:
build: ./backend
image: chapizze/pwndoc1a-backend:1.0
container_name: pwndoc-backend
secrets:
- clientID
- clientSecret
- attachmentKey
- attachmentIV
- key
- salt
volumes:
- ./backend/report-templates:/app/report-templates
- ./backend/src/config:/app/src/config
depends_on:
- mongodb
restart: always
ports:
- 4242:4242
links:
- mongodb
networks:
- backend
pwndoc-frontend:
build: ./frontend
image: chapizze/pwndoc1a-frontend:1.0
container_name: pwndoc-frontend
restart: always
ports:
- 8443:8443
networks:
- backend
pwndoc-ai:
build:
context: .
dockerfile: ./backend/Dockerfile-llama
image: chapizze/llama:1.0
container_name: llama-server
restart: always
ports:
- 127.0.0.1:8888:8888
networks:
- backend
volumes:
mongo-data:
networks:
backend:
driver: bridge
secrets:
clientID:
file: resources/clientid.txt
clientSecret:
file: resources/clientsecret.txt
attachmentKey:
file: resources/attachmentKey
attachmentIV:
file: resources/attachmentIV
key:
file: resources/key
salt:
file: resources/salt