docker-compose.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. pig-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. pig-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. pig-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