Browse Source

add compose.my

topic
yedf2 5 years ago
parent
commit
9f32a0adc7
  1. 3
      .gitignore
  2. 15
      aux/compose.mysql.yml

3
.gitignore

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

15
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'
Loading…
Cancel
Save