未验证 提交 4a76af40 编写于 作者: Mr.奇淼('s avatar Mr.奇淼( 提交者: GitHub

Merge pull request #26 from xunmao/gin-vue-admin-develop

Add a docker compose file to setup MySQL
# 关于Compose文件的具体说明,请参考以下链接:
# https://docs.docker.com/compose/compose-file/
version: "3.5"
services:
# 数据库的各种配置参数,请参考以下链接:
# https://github.com/piexlmax/gin-vue-admin/blob/master/QMPlusServer/db/qmplus.sql#L4-L8
# https://github.com/piexlmax/gin-vue-admin/blob/master/QMPlusServer/static/config/config.json#L8-L14
database:
image: mysql:5.6
ports:
- 3306:3306
volumes:
- ./QMPlusServer/db:/docker-entrypoint-initdb.d
environment:
MYSQL_ROOT_PASSWORD: Aa@6447985
MYSQL_DATABASE: qmPlus
user: root
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册