-
Notifications
You must be signed in to change notification settings - Fork 0
/
server.conf
48 lines (40 loc) · 1.62 KB
/
server.conf
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
48
# This is the Server runconfiguration for developing/debuging
#
# When editing this file make sure to always put the # as first caracter
# a line if the line should become a commend.
# when edeting a keyvalue line make sure the key and the value
# are splited by a '=' sign. However NO SPACE is allowed before or after,
# as spaces can be interpreted as values.
# db host has to be 127.0.0.1 and not localhost in order
# to prevent jdbc to try to connect to unix sockets
db_host=127.0.0.1
db_schema=matohmat
db_user=matomat_system
db_password=password_here
device_keys_file=device_keys.txt
# Origin is the url of the client that tryes to acces the server
# the client(s) that try to connect have to be node here
# to prevent issues with CORS
# multiple origin keys may be added here. The different origns may be
# seperated with two ';;' characters like this:
# origin = http://localhost:4200;;https//example.com/;;null
origin=null
# Here you may type the context path on which the server is runing.
# By default the path is '/', if the server can be rached simply
# by accessing it through its doman name: eg. 'example.com'.
# But if the server is accesed through 'example.com/api', '/api'
# has to be the context path here.
context_path=/
# Mail config here
# Mail_enable will also enable inventory check
mail_enabled=false
mail_starttls=true
mail_smtp_host=smtp.example.com
mail_smtp_port=587
mail_address=matohmat@example.com
mail_smtp_user=matohmat@example.com
mail_smtp_password=example_pwd
mail_template_file=mail_template.txt
mail_subject=Matohmat: <{product}> is out of stock.
# inventory check interval in minutes
check_interval=1440