Skip to content

Commit b5bad6a

Browse files
committed
Added cve_search install.sh and configuration.ini
1 parent 944a5cb commit b5bad6a

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
[Redis]
2+
Host: redis
3+
Port: 6379
4+
Password:
5+
VendorsDB: 10
6+
NotificationsDB: 11
7+
RefDB: 12
8+
9+
[Mongo]
10+
Host: mongo
11+
Port: 27017
12+
DB: cvedb
13+
14+
[dbmgt]
15+
Tmpdir: ./tmp/
16+
17+
[FulltextIndex]
18+
Indexdir: ./indexdir/
19+
20+
[Webserver]
21+
Host: 0.0.0.0
22+
Port: 5000
23+
Debug: False
24+
PageLength: 50
25+
LoginRequired: False
26+
SSL: True
27+
Certificate: etc/certificate.crt
28+
Key: etc/certificate.key
29+
30+
[Logging]
31+
Logging: True
32+
Logfile: log/cve-search.log
33+
MaxSize: 150MB
34+
Backlog: 5
35+
36+
[Proxy]
37+
http:
38+
IgnoreCerts: False
39+
40+
[CVE]
41+
StartYear: 2002

docker/files/cve_search/install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
echo "Running install script..."
4+
5+
openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -subj "/C=NA/ST=CVE_SEARCH/L=CVE_SEARCH/O=CVE_SEARCH/CN=CVE_SEARCH" -keyout /app/etc/certificate.key -out /app/etc/certificate.crt

0 commit comments

Comments
 (0)