feat: drone.ci

This commit is contained in:
mozzie 2023-03-20 14:02:13 +08:00
parent adff9e179c
commit cb37303e82

View File

@ -22,9 +22,12 @@ services:
ports: ports:
- 46033:3306 - 46033:3306
environment: environment:
- MYSQL_DATABASE: backset - "MYSQL_DATABASE=backset"
- MYSQL_USER: backset - "MYSQL_USER=backset"
- MYSQL_PASSWORD: backset - "MYSQL_PASSWORD=backset"
- "MYSQL_ROOT_PASSWORD=root"
- "MYSQL_ROOT_HOST='%'"
- "TZ=Asia/Shanghai"
volumes: volumes:
- /www/wwwroot/mysql/conf/my.cnf:/etc/mysql/conf.d/mysqld.cnf - /www/wwwroot/mysql/conf/my.cnf:/etc/mysql/conf.d/mysqld.cnf
- /www/wwwroot/mysql/data:/var/lib/mysql - /www/wwwroot/mysql/data:/var/lib/mysql