docker-compose.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. restart: always
  17. pigx-redis:
  18. image: redis:4.0.10
  19. restart: always
  20. pigx-eureka:
  21. build:
  22. context: ./
  23. dockerfile: ./pigx-eureka/Dockerfile
  24. restart: always
  25. container_name: pigx-eureka
  26. image: pigx-eureka
  27. ports:
  28. - 8761:8761
  29. pigx-config:
  30. build:
  31. context: ./
  32. dockerfile: ./pigx-config/Dockerfile
  33. restart: always
  34. container_name: pigx-config
  35. image: pigx-config
  36. pigx-gateway:
  37. build:
  38. context: ./
  39. dockerfile: ./pigx-gateway/Dockerfile
  40. restart: always
  41. container_name: pigx-gateway
  42. image: pigx-gateway
  43. ports:
  44. - 9999:9999
  45. pigx-auth:
  46. build:
  47. context: ./
  48. dockerfile: ./pigx-auth/Dockerfile
  49. restart: always
  50. container_name: pigx-auth
  51. image: pigx-auth
  52. pigx-upms:
  53. build:
  54. context: ./
  55. dockerfile: ./pigx-upms/pigx-upms-biz/Dockerfile
  56. restart: always
  57. container_name: pigx-upms
  58. image: pigx-upms
  59. pigx-monitor:
  60. build:
  61. context: ./
  62. dockerfile: ./pigx-visual/pigx-monitor/Dockerfile
  63. restart: always
  64. image: pigx-monitor
  65. container_name: pigx-monitor
  66. ports:
  67. - 5001:5001
  68. pigx-daemon:
  69. build:
  70. context: ./
  71. dockerfile: ./pigx-visual/pigx-daemon/Dockerfile
  72. restart: always
  73. image: pigx-daemon
  74. container_name: pigx-daemon
  75. pigx-codegen:
  76. build:
  77. context: ./
  78. dockerfile: ./pigx-visual/pigx-codegen/Dockerfile
  79. restart: always
  80. image: pigx-codegen
  81. container_name: pigx-codegen
  82. pigx-activiti:
  83. build:
  84. context: ./
  85. dockerfile: ./pigx-visual/pigx-activiti/Dockerfile
  86. restart: always
  87. image: pigx-activiti
  88. container_name: pigx-activiti
  89. pigx-tx-manager:
  90. build:
  91. context: ./
  92. dockerfile: ./pigx-visual/pigx-tx-manager/Dockerfile
  93. restart: always
  94. image: pigx-tx-manager
  95. container_name: pigx-tx-manager
  96. ports:
  97. - 5004:5004
  98. - 9998:9998