普兆健康管家后端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.4 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
  1. version: '2'
  2. services:
  3. jeecg-boot-mysql:
  4. build:
  5. context: ./jeecg-boot/db
  6. environment:
  7. MYSQL_ROOT_PASSWORD: root
  8. MYSQL_ROOT_HOST: '%'
  9. TZ: Asia/Shanghai
  10. restart: always
  11. container_name: jeecg-boot-mysql
  12. image: jeecg-boot-mysql
  13. command:
  14. --character-set-server=utf8mb4
  15. --collation-server=utf8mb4_general_ci
  16. --explicit_defaults_for_timestamp=true
  17. --lower_case_table_names=1
  18. --max_allowed_packet=128M
  19. --default-authentication-plugin=caching_sha2_password
  20. ports:
  21. - 3306:3306
  22. networks:
  23. - jeecg-boot
  24. jeecg-boot-redis:
  25. image: registry.cn-hangzhou.aliyuncs.com/jeecgdocker/redis:5.0
  26. ports:
  27. - 6379:6379
  28. restart: always
  29. hostname: jeecg-boot-redis
  30. container_name: jeecg-boot-redis
  31. networks:
  32. - jeecg-boot
  33. jeecg-boot-system:
  34. build:
  35. context: ./jeecg-boot/jeecg-module-system/jeecg-system-start
  36. restart: on-failure
  37. depends_on:
  38. - jeecg-boot-mysql
  39. - jeecg-boot-redis
  40. container_name: jeecg-boot-system
  41. image: jeecg-boot-system
  42. hostname: jeecg-boot-system
  43. ports:
  44. - 8080:8080
  45. networks:
  46. - jeecg-boot
  47. jeecg-vue:
  48. build:
  49. context: ./jeecgboot-vue3
  50. container_name: jeecgboot-vue3-nginx
  51. image: jeecgboot-vue3
  52. depends_on:
  53. - jeecg-boot-system
  54. networks:
  55. - jeecg-boot
  56. ports:
  57. - 80:80
  58. networks:
  59. jeecg-boot:
  60. name: jeecg_boot