add compose.my

This commit is contained in:
yedf2 2021-08-05 14:13:38 +08:00
parent 00d4b5047b
commit 9f32a0adc7
2 changed files with 16 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,5 +1,4 @@
*/**/*.yml
conf.yml*
conf.yml
*.out
*/**/main
main

15
aux/compose.mysql.yml Normal file
View File

@ -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'