forked from KohaSuomi/KohaSuomiServices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
koha_suomi_services.conf.example
47 lines (47 loc) · 1.49 KB
/
koha_suomi_services.conf.example
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
{
environment => "development", # development or production
kohabasepath => 'http://127.0.0.1',
servicepath => 'http://127.0.0.1:8080/service',
secrets => ["my-secret"],
apikey => 'foobarfoobar', # Internal API key for REST request
logs => '/home/<user>/KohaSuomiServices/kohasuomiservices.log',
log_level => 'debug',
auth => { # Koha and internal auth paths
baseendpoint => 'http://127.0.0.1:8080/service/api/',
internallogin => 'http://127.0.0.1/api/v1/auth/session',
permissions => [
"superlibrarian"
]
},
services => {
biblio => {
inactivitytimeout => 30, # Waiting time of response from remote REST
route => 'biblio',
export => "manual", # automatic or manual
baseendpoint => 'http://127.0.0.1:8080/service/api/',
testbiblio => '017386346',
blockactive => [
{
interface => 'FOOBAA',
untildate => '2021-06-22'
}
],
database => {
sharebase => "/home/foo/bar/", #DBIX share directory base path
version => 1, # Database update version, increase this if schema changes
host => 'localhost',
user => 'username',
password => 'my-password',
port => '3306',
schema => 'biblioservice'
}
}
},
background => [ # Background scripts, background.pl
"ExportDaemon -w 5 -t add",
"ExportDaemon -w 5 -t add -c 1",
"ExportDaemon -w 5 -t update",
"ExportDaemon -w 5 -t update -c 1",
"UpdateActiveRecords -w 5 -i FOO",
]
}