From 9f32a0adc7de76419becc4362bd4cf9dea279351 Mon Sep 17 00:00:00 2001 From: yedf2 <120050102@qq.com> Date: Thu, 5 Aug 2021 14:13:38 +0800 Subject: [PATCH] add compose.my --- .gitignore | 3 +-- aux/compose.mysql.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 aux/compose.mysql.yml 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'