增加docker-compose文件,不用手动导入数据库了,方便开发

This commit is contained in:
bzh
2020-05-09 12:16:28 +08:00
parent 9d0309489c
commit bf1c3a385a
6 changed files with 712 additions and 675 deletions

View File

@ -0,0 +1,5 @@
-- 创建数据库
DROP database IF EXISTS `ry-vue`;
create database `ry-vue` default character set utf8 collate utf8_general_ci;
-- 切换到test_data数据库
use ry-vue;