File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,25 +20,38 @@ docker pull amirhossein21/ptaas-tool:base-v0.X.X
2020Base API system config file (``` config.yaml ``` ) template is something like this:
2121
2222``` yaml
23- core : # core api
23+ core :
2424 port : 9090
2525 enable : true
2626 workers : 1
2727 secret : " secret"
28- mysql : # database
28+ mysql :
2929 host : ' localhost'
3030 port : 3306
3131 user : root
3232 pass : ' '
3333 database : ' apt'
3434 migrate : false
35- migrate : # migration commands
35+ migrate :
3636 root : ' admin'
3737 pass : ' 12345'
3838 enable : false
39+ ai :
40+ enable : true
41+ method : " svm"
42+ " limit " : 10
43+ " factor " : 7
3944scanner :
40- command : " "
41- ftp : # apt instructions service
45+ enable : true
46+ defaults :
47+ - " 2fa"
48+ command : " python3 scanner.py"
49+ flags :
50+ - " host"
51+ - " endpoints"
52+ - " type"
53+ - " protocol"
54+ ftp :
4255 host : ' http://localhost:9091'
4356 secret : ' secret'
4457 access : ' access'
You can’t perform that action at this time.
0 commit comments