Skip to content

Commit 7edd323

Browse files
committed
Tweaking
1 parent e945031 commit 7edd323

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ index
44
assets
55
repo
66

7+
.git
8+
79
# Intellij project files
810
*.iml
911
*.ipr
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# searchcode config
2+
# If setting binary paths on windows use / not \ for directory delimiter
3+
database=sqlite
4+
sqlite_file=searchcode.sqlite
5+
server_port=8080
6+
repository_location=./repo/
7+
index_location=./index/
8+
facets_location=./index/facet/
9+
trash_location=./trash/
10+
timeindex_location=./index/time/
11+
timeindex_facets_location=./index/time/facet/
12+
check_repo_chages=600
13+
check_filerepo_changes=600
14+
index_time=5
15+
only_localhost=false
16+
low_memory=false
17+
log_level=SEVERE
18+
log_path=./logs
19+
log_count=10
20+
spelling_corrector_size=100000
21+
max_document_queue_size=1000
22+
max_document_queue_line_size=1000000
23+
max_file_line_depth=10000
24+
max_file_length_read=30000000
25+
use_system_git=false
26+
git_binary_path=/usr/bin/git
27+
api_enabled=true
28+
api_key_authentication=true
29+
svn_enabled=true
30+
svn_binary_path=C:/Program Files (x86)/Subversion/bin/svn.exe
31+
owasp_database_location=./include/owasp/database.json
32+
classifier_database_location=./include/classifier/database.json
33+
license_database_location=./include/license/database.json
34+
source_database_location=./include/source/database.json
35+
highlight_lines_limit=5000
36+
binary_guess=true
37+
binary_extension_white_list=
38+
binary_extension_black_list=woff,eot,cur,dm,xpm,emz,db,scc,idx,mpp,dot,pspimage,stl,dml,wmf,rvm,resources,tlb,docx,doc,xls,xlsx,ppt,pptx,msg,vsd,chm,fm,book,dgn,blines,cab,lib,obj,jar,pdb,dll,bin,out,elf,so,msi,nupkg,pyc,ttf,woff2,jpg,jpeg,png,gif,bmp,psd,tif,tiff,yuv,ico,xls,xlsx,pdb,pdf,apk,com,exe,bz2,7z,tgz,rar,gz,zip,zipx,tar,rpm,bin,dmg,iso,vcd,mp3,flac,wma,wav,mid,m4a,3gp,flv,mov,mp4,mpg,rm,wmv,avi,m4v,sqlite,class,rlib,ncb,suo,opt,o,os,pch,pbm,pnm,ppm,pyd,pyo,raw,uyv,uyvy,xlsm,swf,xz
39+
directory_black_list=
40+
number_git_processors=5
41+
number_svn_processors=5
42+
number_file_processors=5
43+
default_and_match=true
44+
log_indexed=false
45+
follow_links=false
46+
deep_guess_files=false
47+
host_name=localhost:8080
48+
index_all_fields=content,filename,filenamereverse,path,interesting
49+
# Mostly used for changing over to distributed searchcode.com index
50+
highlighter=remote
51+
highlighter_binary_location=./include/binaries/
52+
delete_repo_after_process=true
53+
index_service=sphinx
54+
sphinx_connection_string=jdbc:mysql://%s:9306?characterEncoding=utf8&maxAllowedPacket=1073741824&net_buffer_length=16384
55+
# the first server is always assumed to be the master
56+
sphinx_servers_shards=127.0.0.1:1,2,3,4;localhost:5,6,7,8
57+
searchcode_connection_string=jdbc:mysql://mysql:3306/searchcode?serverTimezone=UTC
58+
searchcode_connection_user=root
59+
searchcode_connection_password=example
60+
# The below will probably be moved into the settings page at some point in the
61+
# future.
62+
password=Adm1n234
63+
encryption_key=39dc5f2168e412be3a9faf9d08482114

0 commit comments

Comments
 (0)