Browse Source

feat: mysql容器配置调整

master
ww519441258 5 years ago
parent
commit
70c4c709b4
  1. 3
      docker-compose.yml

3
docker-compose.yml

@ -15,8 +15,9 @@ services:
- php
mysql:
image: mysql
restart: always
container_name: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
volumes:
- ./mysql/etc:/etc/mysql
- ./mysql/data:/var/lib/mysql

Loading…
Cancel
Save