This commit is contained in:
yedongfu 2021-05-23 10:25:49 +08:00
parent 6047f87911
commit 0e82478564
2 changed files with 8 additions and 6 deletions

View File

@ -1,11 +1,11 @@
version: '3.3'
services:
# web:
# build: .
# ports:
# - '80:4005'
# volumes:
# - .:/app/dtm
web:
build: .
ports:
- '80:4005'
volumes:
- .:/app/dtm
mysql:
image: 'daocloud.io/mysql:5.7'
environment:

View File

@ -1,5 +1,7 @@
CREATE DATABASE `dtm` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
use dtm;
drop table IF EXISTS saga;
CREATE TABLE `saga` (
`id` int(11) NOT NULL AUTO_INCREMENT,