-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservice.yml
38 lines (37 loc) · 930 Bytes
/
service.yml
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
schema: kata.ai/schema/merapi/1.0
name: Information Retrieval
version: '${package.version}'
plugins:
- express
- service
components:
predict: domains/Predict
removePrefix: domains/RemovePrefix
removeSuffix: domains/RemoveSuffix
spellChecker: domains/SpellChecker
confixRepo: repos/ConfixRepo
corpusRepo: repos/CorpusRepo
databaseRepo: repos/DatabaseRepo
prefixRepo: repos/PrefixRepo
suffixRepo: repos/SuffixRepo
main: Main
service:
port: 5000
api.v1:
predictRootWord: predict.predictRootWord
database:
client: mysql
connection:
host: ${$MYSQL_HOST}
user: ${$MYSQL_USERNAME}
password: ${$MYSQL_PASSWORD}
port: ${$MYSQL_PORT}
db: ${$MYSQL_DATABASE}
database: ${$MYSQL_DATABASE}
encrypt: true
pool:
min: "2"
max: "10"
migrations:
tableName: ${$MYSQL_MIGRATION}
main: main