-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-defaults.ini
46 lines (36 loc) · 1.12 KB
/
config-defaults.ini
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
[web]
# True or False. If True login is required for searching.
login-required=False
# A secret key to sign octosearch:// urls with. Make it long and random.
protocol-secret=
# A key to encrypt the web sessions with. Make it long and random, like protocol-secret.
secret-key=
[backend]
# The elasticsearch server address
# This can also be configured by using the BACKEND_SERVER environment variable.
server=
# The ES index to use.
index=octosearch
[mimetypes]
# Custom parser configuration
# The key is the mimetype you want to parse, the value is the name of the plugin you want to use to do that.
# text/markdown = octosearch:text
[parser:tika]
url=http://tika:9998
# The auth driver. Included by default are octosearch:basic and octosearch:ldap.
# You can only have one [auth] section in your config file.
# [auth]
# The octosearch:basic driver accepts only one user/password. The password has to
# be an md5 string.
# driver=octosearch:basic
# name=octoblub
# username=alex
# password_hash=123
# [auth]
# The octosearch:ldap driver
# be an md5 string.
# driver=octosearch:ldap
# name=octoblub
#[indexer:<index-name>]
#indexer=
#path=