docker-compose.yml 896 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. jeecg-boot-system:
  12. depends_on:
  13. - jeecg-boot-nacos
  14. build:
  15. context: ./jeecg-cloud-system-start
  16. container_name: jeecg-boot-system
  17. hostname: jeecg-boot-system
  18. restart: on-failure
  19. environment:
  20. - TZ=Asia/Shanghai
  21. jeecg-boot-gateway:
  22. restart: on-failure
  23. build:
  24. context: ./jeecg-cloud-gateway
  25. ports:
  26. - 9999:9999
  27. depends_on:
  28. - jeecg-boot-nacos
  29. - jeecg-boot-system
  30. container_name: jeecg-boot-gateway
  31. hostname: jeecg-boot-gateway
  32. # jeecg-boot-xxljob:
  33. # build:
  34. # context: ./jeecg-cloud-xxljob
  35. # ports:
  36. # - 9080:9080
  37. # container_name: jeecg-boot-xxljob
  38. # hostname: jeecg-boot-xxljob