Skip to content

Commit dd83da6

Browse files
authored
Update README.md
1 parent d2d7c15 commit dd83da6

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,38 @@ docker pull amirhossein21/ptaas-tool:base-v0.X.X
2020
Base 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
3944
scanner:
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'

0 commit comments

Comments
 (0)