docker-compose-ruoyi.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. version : '3.8'
  2. services:
  3. ruoyi-gateway:
  4. container_name: ruoyi-gateway
  5. build:
  6. context: ./ruoyi/gateway
  7. dockerfile: dockerfile
  8. ports:
  9. - "8080:8080"
  10. ruoyi-auth:
  11. container_name: ruoyi-auth
  12. build:
  13. context: ./ruoyi/auth
  14. dockerfile: dockerfile
  15. ports:
  16. - "9200:9200"
  17. ruoyi-modules-system:
  18. container_name: ruoyi-modules-system
  19. build:
  20. context: ./ruoyi/modules/system
  21. dockerfile: dockerfile
  22. ports:
  23. - "9201:9201"
  24. ruoyi-modules-gen:
  25. container_name: ruoyi-modules-gen
  26. build:
  27. context: ./ruoyi/modules/gen
  28. dockerfile: dockerfile
  29. ports:
  30. - "9202:9202"
  31. ruoyi-modules-job:
  32. container_name: ruoyi-modules-job
  33. build:
  34. context: ./ruoyi/modules/job
  35. dockerfile: dockerfile
  36. ports:
  37. - "9203:9203"
  38. ruoyi-modules-file:
  39. container_name: ruoyi-modules-file
  40. build:
  41. context: ./ruoyi/modules/file
  42. dockerfile: dockerfile
  43. ports:
  44. - "9300:9300"
  45. volumes:
  46. - ./ruoyi/uploadPath:/home/ruoyi/uploadPath
  47. ruoyi-visual-monitor:
  48. container_name: ruoyi-visual-monitor
  49. build:
  50. context: ./ruoyi/visual/monitor
  51. dockerfile: dockerfile
  52. ports:
  53. - "9100:9100"