docker-compose.yml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. version: '2'
  2. services:
  3. pigx-mysql:
  4. build:
  5. context: ./
  6. dockerfile: ./doc/db/Dockerfile
  7. environment:
  8. MYSQL_ROOT_PASSWORD: root
  9. restart: always
  10. container_name: pigx-mysql
  11. image: pigx-mysql
  12. ports:
  13. - 3306:3306
  14. pigx-zookeeper:
  15. image: zookeeper:3.4.13
  16. ports:
  17. - 2181:2181
  18. restart: always
  19. pigx-redis:
  20. image: redis:4.0.10
  21. ports:
  22. - 6379:6379
  23. restart: always
  24. pigx-eureka:
  25. build:
  26. context: ./
  27. dockerfile: ./pigx-eureka/Dockerfile
  28. restart: always
  29. container_name: pigx-eureka
  30. image: pigx-eureka
  31. ports:
  32. - 8761:8761
  33. pigx-config:
  34. build:
  35. context: ./
  36. dockerfile: ./pigx-config/Dockerfile
  37. restart: always
  38. container_name: pigx-config
  39. image: pigx-config
  40. pigx-gateway:
  41. build:
  42. context: ./
  43. dockerfile: ./pigx-gateway/Dockerfile
  44. depends_on:
  45. - pigx-config
  46. restart: always
  47. container_name: pigx-gateway
  48. image: pigx-gateway
  49. ports:
  50. - 9999:9999
  51. pigx-auth:
  52. build:
  53. context: ./
  54. dockerfile: ./pigx-auth/Dockerfile
  55. depends_on:
  56. - pigx-config
  57. restart: always
  58. container_name: pigx-auth
  59. image: pigx-auth
  60. pigx-upms:
  61. build:
  62. context: ./
  63. dockerfile: ./pigx-upms/pigx-upms-biz/Dockerfile
  64. depends_on:
  65. - pigx-config
  66. restart: always
  67. container_name: pigx-upms
  68. image: pigx-upms
  69. pigx-monitor:
  70. build:
  71. context: ./
  72. dockerfile: ./pigx-visual/pigx-monitor/Dockerfile
  73. depends_on:
  74. - pigx-config
  75. restart: always
  76. image: pigx-monitor
  77. container_name: pigx-monitor
  78. ports:
  79. - 5001:5001
  80. pigx-daemon:
  81. build:
  82. context: ./
  83. dockerfile: ./pigx-visual/pigx-daemon/Dockerfile
  84. depends_on:
  85. - pigx-config
  86. restart: always
  87. image: pigx-daemon
  88. container_name: pigx-daemon
  89. ports:
  90. - 5002:5002
  91. pigx-codegen:
  92. build:
  93. context: ./
  94. dockerfile: ./pigx-visual/pigx-codegen/Dockerfile
  95. depends_on:
  96. - pigx-config
  97. restart: always
  98. image: pigx-codegen
  99. container_name: pigx-codegen
  100. pigx-activiti:
  101. build:
  102. context: ./
  103. dockerfile: ./pigx-visual/pigx-activiti/Dockerfile
  104. depends_on:
  105. - pigx-config
  106. restart: always
  107. image: pigx-activiti
  108. container_name: pigx-activiti
  109. pigx-tx-manager:
  110. build:
  111. context: ./
  112. dockerfile: ./pigx-visual/pigx-tx-manager/Dockerfile
  113. depends_on:
  114. - pigx-config
  115. restart: always
  116. image: pigx-tx-manager
  117. container_name: pigx-tx-manager
  118. ports:
  119. - 5004:5004
  120. - 9998:9998