perm-api-dev.yaml 534 B

1234567891011121314151617181920212223
  1. Name: perm-api
  2. Host: 0.0.0.0
  3. Port: 10001
  4. RpcServerConf:
  5. ListenOn: 0.0.0.0:10002
  6. MySQL:
  7. DataSource: "root:NsDmWyM@312@tcp(127.0.0.1:3306)/perms_system?charset=utf8mb4&parseTime=true&loc=Asia%2FShanghai"
  8. CacheRedis:
  9. Nodes:
  10. - Host: 127.0.0.1:6379
  11. Pass: "NsDmWyM@312"
  12. Type: node
  13. KeyPrefix: "PermsSystem"
  14. Auth:
  15. AccessSecret: "a64b9b07f7bb82f85efa44c47a10c50b"
  16. AccessExpire: 7200
  17. RefreshSecret: "f3a234543b30bfbc2e14225743830b62"
  18. RefreshExpire: 604800
  19. ManagementKey: "c653e85ba6528542746eb46298db48db"