Files
oneterm/docs/api.yaml
2024-02-01 20:15:11 +08:00

59 lines
1005 B
YAML

mode: debug
http:
ip: 0.0.0.0
port: 8080
mysql:
ip: mysql
port: 3306
user: root
password: 123456
redis:
addr: redis:6379
password: root
log:
level: debug
path: app.log
format: json
maxSize: 1
# consoleEnable Whether to enable outputting logs to the console as the sametime
consoleEnable: true
auth:
acl:
appId: '5867e079dfd1437e9ae07576ab24b391'
secretKey: '2qlTA4z@#KyigJLYHGrev?0WD6hjX*8E'
url: http://oneterm-ui/api/v1/
resourceNames:
- key: account
value: account
- key: asset
value: asset
- key: command
value: command
- key: gateway
value: gateway
- key: authorization
value: authorization
cmdb:
url: http://host/api/v0.1
secretKey: 'xW2FAUfgffjmerTEBXADmURDOQ43ojLN'
worker:
uid: 1
rid: 1
key: a5704726392648b7b5a15cc39091a166
secret: P#Iunzvq7E^6mwMbftgW@KYG28x14*Dy
sshServer:
ip: oneterm-ssh
port: 12228
account: test
password: 135790
xtoken: 123456