appsettings.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Information",
  5. "Microsoft": "Warning",
  6. "Microsoft.Hosting.Lifetime": "Information"
  7. }
  8. },
  9. "AllowedHosts": "*",
  10. "TokenKey": "Authorization",
  11. "TokenValue": "123456",
  12. "JwtKeyName": "JwtKeyName",
  13. "JwtSecurityKey": "1CC76841-F25D-4389-89FE-0F9451163CF1",
  14. //Json 存储方式 配置
  15. "DbPath": {
  16. "Project": "/db/Projects.json",
  17. "Tasks": "/db/Tasks.json"
  18. },
  19. //是否使用 Redis 存储 1是 0否 默认使用 json 文件
  20. "UseRedis": "0",
  21. //Redis 存储方式 配置
  22. "RedisDbPath": {
  23. "Project": "IMCS.CCS:Project",
  24. "Tasks": "IMCS.CCS:Tasks"
  25. },
  26. //Redis 连接字符串
  27. "RedisConnectionString": "localhost:6379,password=123456,defaultDatabase=0",
  28. //数据连接配置
  29. "ConnectionStrings": {
  30. "mysqlContext": "server=localhost;port=3306;database=ccs_chf;uid=root;pwd=123456;CharSet=utf8;Allow Zero Datetime=True",
  31. "ecsUrlContext": "http://localhost:9099/api/authority/taskNode/taskNodeCallback",
  32. "ecsRootUrlContext": "http://localhost:9099",
  33. //"FTPServer": "192.168.170.25",
  34. //"FTPUser": "PROG",
  35. //"FTPPwd": "abc.1234",
  36. "FTPServer": "127.0.0.1",
  37. "FTPUser": "test",
  38. "FTPPwd": "test",
  39. "mazakUrlContext": "http://localhost:8010/opcua"
  40. }
  41. }