You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.8 KiB

  1. version: '2'
  2. services:
  3. TML-WS:
  4. scale: 1
  5. start_on_create: false
  6. LB:
  7. scale: 2
  8. start_on_create: false
  9. lb_config:
  10. certs: []
  11. config: "defaults\noption forwardfor\n\nlisten stats \nbind 0.0.0.0:9123\nmode\
  12. \ http\nstats enable\nstats hide-version\nstats realm Haproxy\\ Statistics\n\
  13. stats uri /haproxy_stats"
  14. port_rules:
  15. - hostname: txgwtml.wanhai.com
  16. path: /collab/ott
  17. priority: 1
  18. protocol: http
  19. service: OTT
  20. source_port: 80
  21. target_port: 8080
  22. - hostname: txgwtml.wanhai.com
  23. path: /wanhai/tml/static
  24. priority: 2
  25. protocol: http
  26. service: TML-STATIC
  27. source_port: 80
  28. target_port: 8080
  29. - hostname: txgwtml.wanhai.com
  30. path: /wanhai/tml/menu
  31. priority: 3
  32. protocol: http
  33. service: TML-MENU
  34. source_port: 80
  35. target_port: 8080
  36. - hostname: txgwtml.wanhai.com
  37. path: /wanhai/tml/cy
  38. priority: 4
  39. protocol: http
  40. service: TML-CY
  41. source_port: 80
  42. target_port: 8080
  43. - hostname: txgwtml.wanhai.com
  44. path: /wanhai/tml/services
  45. priority: 5
  46. protocol: http
  47. service: TML-WS
  48. source_port: 80
  49. target_port: 8080
  50. stickiness_policy:
  51. cookie: JSESSIONID
  52. indirect: true
  53. mode: prefix
  54. nocache: true
  55. postonly: false
  56. health_check:
  57. healthy_threshold: 2
  58. response_timeout: 2000
  59. port: 42
  60. unhealthy_threshold: 3
  61. initializing_timeout: 60000
  62. interval: 2000
  63. reinitializing_timeout: 60000
  64. TML-CY:
  65. scale: 2
  66. start_on_create: false
  67. TML-MENU:
  68. scale: 1
  69. start_on_create: false
  70. TML-STATIC:
  71. scale: 1
  72. start_on_create: false
  73. OTT:
  74. scale: 1
  75. start_on_create: false