docker-compose.yml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. restart: always
  45. container_name: pigx-gateway
  46. image: pigx-gateway
  47. ports:
  48. - 9999:9999
  49. pigx-auth:
  50. build:
  51. context: ./
  52. dockerfile: ./pigx-auth/Dockerfile
  53. restart: always
  54. container_name: pigx-auth
  55. image: pigx-auth
  56. pigx-upms:
  57. build:
  58. context: ./
  59. dockerfile: ./pigx-upms/pigx-upms-biz/Dockerfile
  60. restart: always
  61. container_name: pigx-upms
  62. image: pigx-upms
  63. pigx-monitor:
  64. build:
  65. context: ./
  66. dockerfile: ./pigx-visual/pigx-monitor/Dockerfile
  67. restart: always
  68. image: pigx-monitor
  69. container_name: pigx-monitor
  70. ports:
  71. - 5001:5001
  72. pigx-daemon:
  73. build:
  74. context: ./
  75. dockerfile: ./pigx-visual/pigx-daemon/Dockerfile
  76. restart: always
  77. image: pigx-daemon
  78. container_name: pigx-daemon
  79. ports:
  80. - 5002:5002
  81. pigx-codegen:
  82. build:
  83. context: ./
  84. dockerfile: ./pigx-visual/pigx-codegen/Dockerfile
  85. restart: always
  86. image: pigx-codegen
  87. container_name: pigx-codegen
  88. pigx-activiti:
  89. build:
  90. context: ./
  91. dockerfile: ./pigx-visual/pigx-activiti/Dockerfile
  92. image: pigx-activiti
  93. container_name: pigx-activiti
  94. restart: always
  95. pigx-tx-manager:
  96. build:
  97. context: ./
  98. dockerfile: ./pigx-visual/pigx-tx-manager/Dockerfile
  99. restart: always
  100. image: pigx-tx-manager
  101. container_name: pigx-tx-manager
  102. ports:
  103. - 5004:5004
  104. - 9998:9998