mirror of
https://github.com/veops/oneterm.git
synced 2025-10-09 01:00:09 +08:00
50 lines
753 B
YAML
50 lines
753 B
YAML
mode: debug
|
|
|
|
http:
|
|
host: 0.0.0.0
|
|
port: 8888
|
|
|
|
ssh:
|
|
host: 0.0.0.0
|
|
port: 2222
|
|
privateKey: --BEGIN PRIVATE KEY-----END PRIVATE KEY-----
|
|
|
|
guacd:
|
|
host: oneterm-guacd
|
|
port: 4822
|
|
|
|
mysql:
|
|
host: oneterm-mysql
|
|
port: 3306
|
|
user: root
|
|
password: root
|
|
|
|
redis:
|
|
addr: oneterm-redis:6379
|
|
password: root
|
|
|
|
log:
|
|
level: debug
|
|
format: json
|
|
maxSize: 1
|
|
consoleEnable: true
|
|
|
|
auth:
|
|
acl:
|
|
appId: acl app id
|
|
secretKey: acl app secret key
|
|
url: http://host/api/v1
|
|
resourceNames:
|
|
- key: account
|
|
value: account
|
|
- key: asset
|
|
value: asset
|
|
- key: command
|
|
value: command
|
|
- key: gateway
|
|
value: gateway
|
|
- key: authorization
|
|
value: authorization
|
|
|
|
secretKey: acl secret key
|