docker-compose.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. version: '3.7'
  2. services:
  3. cloud-gateway:
  4. image: ccr.ccs.tencentyun.com/atmob_central/cloud-gateway:latest
  5. container_name: cloud-gateway
  6. restart: unless-stopped
  7. deploy:
  8. resources:
  9. limits:
  10. memory: 512M
  11. ports:
  12. - "8880:8880"
  13. environment:
  14. - active=prod
  15. central-value:
  16. image: ccr.ccs.tencentyun.com/atmob_central/central-value:latest
  17. container_name: central-value
  18. restart: unless-stopped
  19. deploy:
  20. resources:
  21. limits:
  22. memory: 512M
  23. environment:
  24. - active=prod
  25. central-user:
  26. image: ccr.ccs.tencentyun.com/atmob_central/central-user:latest
  27. container_name: central-user
  28. restart: unless-stopped
  29. deploy:
  30. resources:
  31. limits:
  32. memory: 512M
  33. environment:
  34. - active=prod
  35. central-security:
  36. image: ccr.ccs.tencentyun.com/atmob_central/central-security:latest
  37. container_name: central-security
  38. restart: unless-stopped
  39. deploy:
  40. resources:
  41. limits:
  42. memory: 512M
  43. environment:
  44. - active=prod
  45. central-pay:
  46. image: ccr.ccs.tencentyun.com/atmob_central/central-pay:latest
  47. container_name: central-pay
  48. restart: unless-stopped
  49. deploy:
  50. resources:
  51. limits:
  52. memory: 512M
  53. volumes:
  54. - ./cert:/cert
  55. environment:
  56. - active=prod
  57. central-conf:
  58. image: ccr.ccs.tencentyun.com/atmob_central/central-conf:latest
  59. container_name: central-conf
  60. restart: unless-stopped
  61. deploy:
  62. resources:
  63. limits:
  64. memory: 512M
  65. environment:
  66. - active=prod
  67. central-auth:
  68. image: ccr.ccs.tencentyun.com/atmob_central/central-auth:latest
  69. container_name: central-auth
  70. restart: unless-stopped
  71. deploy:
  72. resources:
  73. limits:
  74. memory: 512M
  75. volumes:
  76. - ./cert:/cert
  77. environment:
  78. - active=prod
  79. central-admin:
  80. image: ccr.ccs.tencentyun.com/atmob_central/central-admin:latest
  81. container_name: central-admin
  82. restart: unless-stopped
  83. deploy:
  84. resources:
  85. limits:
  86. memory: 512M
  87. environment:
  88. - active=prod
  89. central-statistics:
  90. image: ccr.ccs.tencentyun.com/atmob_central/central-statistics:latest
  91. container_name: central-statistics
  92. restart: unless-stopped
  93. deploy:
  94. resources:
  95. limits:
  96. memory: 512M
  97. environment:
  98. - active=prod
  99. project-charge:
  100. image: ccr.ccs.tencentyun.com/atmob_central/project-charge:latest
  101. container_name: project-charge
  102. restart: unless-stopped
  103. deploy:
  104. resources:
  105. limits:
  106. memory: 1024M
  107. environment:
  108. - active=prod
  109. project-playlet:
  110. image: ccr.ccs.tencentyun.com/atmob_central/project-playlet:latest
  111. container_name: project-playlet
  112. restart: unless-stopped
  113. deploy:
  114. resources:
  115. limits:
  116. memory: 512M
  117. environment:
  118. - active=prod
  119. project-recover:
  120. image: ccr.ccs.tencentyun.com/atmob_central/project-recover:latest
  121. container_name: project-recover
  122. restart: unless-stopped
  123. deploy:
  124. resources:
  125. limits:
  126. memory: 512M
  127. environment:
  128. - active=prod
  129. networks:
  130. default:
  131. external: true
  132. name: consul