docker-compose.yml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. jflow-cloud-start:
  51. depends_on:
  52. - jeecg-boot-nacos
  53. build:
  54. context: ./jflow-cloud-start
  55. container_name: jflow-cloud-start
  56. hostname: jeecg-boot-jflow
  57. restart: on-failure
  58. environment:
  59. - TZ=Asia/Shanghai
  60. networks:
  61. - jeecg-boot
  62. # jeecg-boot-sentinel:
  63. # restart: on-failure
  64. # build:
  65. # context: ./jeecg-visual/jeecg-cloud-sentinel
  66. # ports:
  67. # - 9000:9000
  68. # depends_on:
  69. # - jeecg-boot-nacos
  70. # - jeecg-boot-demo
  71. # - jeecg-boot-system
  72. # - jeecg-boot-gateway
  73. # container_name: jeecg-boot-sentinel
  74. # hostname: jeecg-boot-sentinel
  75. # networks:
  76. # - jeecg-boot
  77. # jeecg-boot-xxljob:
  78. # build:
  79. # context: ./jeecg-visual/jeecg-cloud-xxljob
  80. # ports:
  81. # - 9080:9080
  82. # container_name: jeecg-boot-xxljob
  83. # hostname: jeecg-boot-xxljob
  84. # networks:
  85. # - jeecg-boot
  86. networks:
  87. jeecg-boot:
  88. name: jeecg_boot