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.

57 lines
2.9 KiB

  1. version: '2'
  2. services:
  3. TML-WS:
  4. image: khhwtml02t.wanhai.com:8182/wanhai/tml/khhw/uat/tml-ws:latest
  5. stdin_open: true
  6. tty: true
  7. labels:
  8. io.rancher.scheduler.affinity:host_label: com.wanhai.tml.env=khhw
  9. io.rancher.container.hostname_override: container_name
  10. io.rancher.container.pull_image: always
  11. LB:
  12. image: rancher/lb-service-haproxy:v0.9.6
  13. ports:
  14. - 80:80/tcp
  15. labels:
  16. io.rancher.scheduler.affinity:host_label: com.wanhai.tml.env=khhw,com.wanhai.tml.lb_host=true
  17. io.rancher.container.agent.role: environmentAdmin,agent
  18. io.rancher.container.agent_service.drain_provider: 'true'
  19. io.rancher.container.create_agent: 'true'
  20. TML-CY:
  21. mem_limit: 1073741824
  22. image: khhwtml02t.wanhai.com:8182/wanhai/tml/khhw/prod/tml-cy:latest
  23. environment:
  24. JAVA_OPTS: -Xms1024m -Xmx1024m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dcom.wanhai.tml.yard.current=khhw -Dcom.wanhai.tml.config.env=uat -Dsentry.dsn=http://d5756310a31a47909989df81461b1da1:bfb176b900fb498c8e3b60d31d12c23f@khhwtml02t.wanhai.com:9000/2 -Dsentry.stacktrace.app.packages=com.wanhai.tml -Dsentry.release=0.1.0 -Dsentry.environment=uat
  25. stdin_open: true
  26. tty: true
  27. labels:
  28. io.rancher.scheduler.affinity:host_label: com.wanhai.tml.env=khhw
  29. io.rancher.container.hostname_override: container_name
  30. io.rancher.container.pull_image: always
  31. TML-MENU:
  32. mem_limit: 805306368
  33. image: khhwtml02t.wanhai.com:8182/wanhai/tml/khhw/prod/tml-menu:latest
  34. environment:
  35. JAVA_OPTS: -Xms512m -Xmx750m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -XX:+UseG1GC -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dcom.wanhai.tml.yard.current=khhw -Dcom.wanhai.tml.config.env=uat -Dsentry.dsn=http://d5756310a31a47909989df81461b1da1:bfb176b900fb498c8e3b60d31d12c23f@khhwtml02t.wanhai.com:9000/2 -Dsentry.stacktrace.app.packages=com.wanhai.tml -Dsentry.release=0.1.0 -Dsentry.environment=uat
  36. stdin_open: true
  37. tty: true
  38. labels:
  39. io.rancher.scheduler.affinity:host_label: com.wanhai.tml.env=khhw
  40. io.rancher.container.hostname_override: container_name
  41. io.rancher.container.pull_image: always
  42. TML-STATIC:
  43. image: khhwtml02t.wanhai.com:8182/wanhai/tml/khhw/uat/tml-static:latest
  44. stdin_open: true
  45. tty: true
  46. labels:
  47. io.rancher.scheduler.affinity:host_label: com.wanhai.tml.env=khhw
  48. io.rancher.container.hostname_override: container_name
  49. io.rancher.container.pull_image: always
  50. OTT:
  51. image: khhwtml02t.wanhai.com:8182/wanhai/tml/khhw/uat/ott:latest
  52. stdin_open: true
  53. tty: true
  54. labels:
  55. io.rancher.scheduler.affinity:host_label: com.wanhai.tml.env=khhw
  56. io.rancher.container.hostname_override: container_name
  57. io.rancher.container.pull_image: always