docker-compose.yml 2.1 KB

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