docker-compose.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. version: '2'
  2. services:
  3. pigx-redis:
  4. image: redis:4.0.10
  5. ports:
  6. - 6379:6379
  7. restart: always
  8. pigx-eureka:
  9. build:
  10. context: ./
  11. dockerfile: ./pigx-eureka/Dockerfile
  12. restart: always
  13. ports:
  14. - 1025:1025
  15. pigx-config:
  16. links:
  17. - pigx-eureka
  18. build:
  19. context: ./
  20. dockerfile: ./pigx-config/Dockerfile
  21. restart: always
  22. pigx-gateway:
  23. links:
  24. - pigx-eureka
  25. build:
  26. context: ./
  27. dockerfile: ./pigx-gateway/Dockerfile
  28. restart: always
  29. ports:
  30. - 9999:9999
  31. pigx-auth:
  32. links:
  33. - pigx-eureka
  34. - pigx-redis
  35. build:
  36. context: ./
  37. dockerfile: ./pigx-auth/Dockerfile
  38. restart: always
  39. ports:
  40. - 3000:3000
  41. pigx-upms:
  42. links:
  43. - pigx-eureka
  44. - pigx-redis
  45. - pigx-gateway
  46. build:
  47. context: ./
  48. dockerfile: ./pigx-upms/pigx-upms-biz/Dockerfile
  49. restart: always
  50. pigx-monitor:
  51. links:
  52. - pigx-eureka
  53. build:
  54. context: ./
  55. dockerfile: ./pigx-visual/pigx-monitor/Dockerfile
  56. restart: always
  57. ports:
  58. - 5001:5001
  59. pigx-daemon:
  60. links:
  61. - pigx-eureka
  62. build:
  63. context: ./
  64. dockerfile: ./pigx-visual/pigx-daemon/Dockerfile
  65. restart: always
  66. ports:
  67. - 5002:5002
  68. pigx-codegen:
  69. links:
  70. - pigx-eureka
  71. build:
  72. context: ./
  73. dockerfile: ./pigx-visual/pigx-codegen/Dockerfile
  74. restart: always
  75. ports:
  76. - 5003:5003