config.default.yaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # config for frontend
  2. frontend:
  3. # 'true' for enable frontend startup, 'false' for disable.
  4. enable: true
  5. # absolute path to the frontend executable file
  6. entry: "data/frontend/zDWSIFrontend"
  7. # config for logger of frontend startup shell
  8. shell_log:
  9. # absolute path to shell log (log rotating will append infix into filename)
  10. file: "/data/logs/frontend.shell.log"
  11. # max size per log file (MegaBytes)
  12. max_size: 16
  13. # max days for rotating
  14. max_age: 30
  15. # max backups for rotating remain
  16. max_backups: 50
  17. # 'true' for using local time for rotating
  18. use_local_time: true
  19. # 'true' for compress rotating history into zip files
  20. compress_history: true
  21. # listening address
  22. # (will set environment variable 'listen' when startup frontend)
  23. listen: ":8080"
  24. # root path for frontend
  25. # (will set environment variable 'wwwroot' when startup frontend)
  26. wwwroot: "/data/wwwroot/"
  27. # config for backend reverse proxy
  28. backend_proxy:
  29. # backend forward prefix
  30. # (will set environment variable 'backend_prefix' when startup frontend)
  31. # e.g. : if using default frontend program, set this with 'api'
  32. # the URL under http://hostname:port/api/ will be forwarding to backend
  33. prefix: "api"
  34. # backend forward target
  35. # (will set environment variable 'backend_target' when startup frontend)
  36. target: "http://localhost:9090/"
  37. # config for backend
  38. backend:
  39. # 'true' for enable backend startup, 'false' for disable.
  40. enable: false,
  41. # absolute path to the backend executable file
  42. entry: "/data/backend/Backend",
  43. # listening address
  44. # (will set environment variable 'listen' when startup backend)
  45. listen: ":9090",
  46. # config for logger of backend startup shell
  47. shell_log":
  48. # absolute path to shell log (log rotating will append infix into filename)
  49. file: "/data/logs/backend.shell.log",
  50. # max size per log file (MegaBytes)
  51. max_size: 16,
  52. # max days for rotating
  53. max_age: 30,
  54. # max backups for rotating remain
  55. max_backups: 50,
  56. # 'true' for using local time for rotating
  57. use_local_time: true,
  58. # 'true' for compress rotating history into zip files
  59. compress_history: true