docker-compose.yml 760 B

1234567891011121314151617181920212223242526272829303132333435
  1. version: '2'
  2. services:
  3. jeecg-boot-mysql:
  4. build:
  5. context: ./db
  6. environment:
  7. MYSQL_ROOT_PASSWORD: root
  8. restart: always
  9. container_name: jeecg-boot-mysql
  10. image: jeecg-boot-mysql
  11. command:
  12. --character-set-server=utf8mb4
  13. --collation-server=utf8mb4_general_ci
  14. --explicit_defaults_for_timestamp=true
  15. --lower_case_table_names=1
  16. --max_allowed_packet=128M
  17. ports:
  18. - 3306:3306
  19. jeecg-boot-redis:
  20. image: redis:5.0
  21. ports:
  22. - 6379:6379
  23. restart: always
  24. container_name: jeecg-boot-redis
  25. jeecg-boot-system:
  26. build:
  27. context: ./jeecg-boot-module-system
  28. restart: always
  29. container_name: jeecg-boot-system
  30. image: jeecg-boot-system
  31. ports:
  32. - 8080:8080