docker-compose.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. version: '2'
  2. services:
  3. jeecg-boot-nacos:
  4. restart: always
  5. build:
  6. context: ./jeecg-cloud-nacos
  7. ports:
  8. - 8848:8848
  9. container_name: jeecg-boot-nacos
  10. hostname: jeecg-boot-nacos
  11. networks:
  12. - jeecg-boot
  13. jeecg-boot-system:
  14. depends_on:
  15. - jeecg-boot-nacos
  16. build:
  17. context: ./jeecg-system-cloud-start
  18. container_name: jeecg-system-start
  19. hostname: jeecg-boot-system
  20. restart: on-failure
  21. environment:
  22. - TZ=Asia/Shanghai
  23. networks:
  24. - jeecg-boot
  25. jeecg-boot-demo:
  26. depends_on:
  27. - jeecg-boot-nacos
  28. build:
  29. context: ./jeecg-demo-cloud-start
  30. container_name: jeecg-demo-start
  31. hostname: jeecg-boot-demo
  32. restart: on-failure
  33. environment:
  34. - TZ=Asia/Shanghai
  35. networks:
  36. - jeecg-boot
  37. jeecg-boot-gateway:
  38. restart: on-failure
  39. build:
  40. context: ./jeecg-cloud-gateway
  41. ports:
  42. - 9999:9999
  43. depends_on:
  44. - jeecg-boot-nacos
  45. - jeecg-boot-system
  46. container_name: jeecg-boot-gateway
  47. hostname: jeecg-boot-gateway
  48. networks:
  49. - jeecg-boot
  50. networks:
  51. jeecg-boot:
  52. name: jeecg_boot
  53. # jeecg-boot-sentinel:
  54. # restart: on-failure
  55. # build:
  56. # context: ./jeecg-visual/jeecg-cloud-sentinel
  57. # ports:
  58. # - 9000:9000
  59. # depends_on:
  60. # - jeecg-boot-nacos
  61. # - jeecg-boot-demo
  62. # - jeecg-boot-system
  63. # - jeecg-boot-gateway
  64. # container_name: jeecg-boot-sentinel
  65. # hostname: jeecg-boot-sentinel
  66. #
  67. # jeecg-boot-xxljob:
  68. # build:
  69. # context: ./jeecg-visual/jeecg-cloud-xxljob
  70. # ports:
  71. # - 9080:9080
  72. # container_name: jeecg-boot-xxljob
  73. # hostname: jeecg-boot-xxljob