-
Notifications
You must be signed in to change notification settings - Fork 51
/
config.yml
102 lines (90 loc) · 1.57 KB
/
config.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
database:
drivers:
mysql: &mysql
driver: mysql
host: localhost
username: root
password: root
db_name: casbin
port: 3306
postgres: &postgres
driver: postgres
host: localhost
username: postgres
password: postgres
port: 5432
db_name: casbin
default: *postgres
server: &server
name: "Test Server"
host: localhost
port: 8084
profiler:
enabled: false
server: "http://localhost:4040"
paypal: &paypal
client_id:
secret:
mode: live
account:
redis:
instances:
redis: &redis
driver: redis
name: redis
host: "localhost"
port: 6379
db: 0
default: *redis
cache: *redis
session: *redis
storage: *redis
queue: *redis
mail:
host:
port:
username:
password:
encryption: tls
from_address: "[email protected]"
from_name: "Sujit Baniya"
token:
app_jwt_secret: SECRET_APP
api_jwt_secret: SECRET_API
expires_in: 3600
jwt:
app:
secret: SECRET_APP
expire: 3600
api:
secret: SECRET_API
expire: 3600
template:
path: "resources/view"
extension: ".html"
log:
timefield: "timestamp"
timeformat: "2006-01-02 15:04:05"
graylog: &graylog
host: localhost
port: 12201
file: &file
path: "storage/logs"
timeformat: "2006-01-02"
console: &console
level: "error"
show: false
info: *file
warn: *file
error: *file
monitor: *graylog
shortlink:
redis_uri: "redis://localhost:6379/0"
link_length: 8
server: *server
enable_csp: true
link_type: l
spam:
train_file: "spam.csv"
auth:
type: "simple"