mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-10-05 21:22:39 +02:00
WIP run and setup
This commit is contained in:
@@ -4,4 +4,8 @@ set -e
|
||||
|
||||
pushd $(dirname $0)
|
||||
|
||||
cp -r template/conf .
|
||||
mkdir -p model logs db samples
|
||||
|
||||
|
||||
popd
|
||||
|
3
run/template/conf/db.properties
Normal file
3
run/template/conf/db.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
db.user=wmsa
|
||||
db.pass=wmsa
|
||||
db.conn=jdbc:mariadb://mariadb:3306/WMSA_prod?rewriteBatchedStatements=true
|
7
run/template/conf/disks.properties
Normal file
7
run/template/conf/disks.properties
Normal file
@@ -0,0 +1,7 @@
|
||||
resource-store=/vol/res
|
||||
|
||||
index-write=/vol/iw
|
||||
index-read=/vol/ir
|
||||
|
||||
tmp-slow=/vol/tmps
|
||||
tmp-fast=/vol/tmpf
|
0
run/template/conf/hosts
Normal file
0
run/template/conf/hosts
Normal file
20
run/template/conf/ranking-settings.yaml
Normal file
20
run/template/conf/ranking-settings.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
ranking:
|
||||
max: 100
|
||||
domains:
|
||||
- '%edu'
|
||||
retro:
|
||||
max: 100
|
||||
domains:
|
||||
- '%edu'
|
||||
small:
|
||||
max: 100
|
||||
domains:
|
||||
- '%neocities.org'
|
||||
academia:
|
||||
max: 100
|
||||
domains:
|
||||
- '%edu'
|
||||
standard:
|
||||
max: 100
|
||||
domains:
|
||||
- '%edu'
|
0
run/template/conf/suggestions.txt
Normal file
0
run/template/conf/suggestions.txt
Normal file
1
run/template/conf/user-agent
Normal file
1
run/template/conf/user-agent
Normal file
@@ -0,0 +1 @@
|
||||
test.marginalia.nu
|
Reference in New Issue
Block a user