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.

18 lines
623 B

  1. # 关于Compose文件的具体说明,请参考以下链接:
  2. # https://docs.docker.com/compose/compose-file/
  3. version: "3.5"
  4. services:
  5. # 数据库的各种配置参数,请参考以下链接:
  6. # https://github.com/piexlmax/gin-vue-admin/blob/master/QMPlusServer/db/qmplus.sql#L4-L8
  7. # https://github.com/piexlmax/gin-vue-admin/blob/master/QMPlusServer/static/config/config.json#L8-L14
  8. database:
  9. image: mysql:5.6
  10. ports:
  11. - 3306:3306
  12. volumes:
  13. - ./QMPlusServer/db:/docker-entrypoint-initdb.d
  14. environment:
  15. MYSQL_ROOT_PASSWORD: Aa@6447985
  16. MYSQL_DATABASE: qmPlus
  17. user: root