diff --git a/.gitignore b/.gitignore index a3d3cd1..a97028a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ -*/**/*.yml -conf.yml* +conf.yml *.out */**/main main diff --git a/aux/compose.mysql.yml b/aux/compose.mysql.yml new file mode 100644 index 0000000..c640fa0 --- /dev/null +++ b/aux/compose.mysql.yml @@ -0,0 +1,15 @@ +version: '3.3' +services: + mysql: + image: 'mysql:5.7' + environment: + MYSQL_ALLOW_EMPTY_PASSWORD: 1 + TZ: Asia/shanghai + command: + [ + '--character-set-server=utf8mb4', + '--collation-server=utf8mb4_unicode_ci', + '--default-time-zone=+8:00', + ] + ports: + - '3306:3306'