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 - php
mysql: mysql:
image: mysql image: mysql
restart: always
container_name: mysql
command: --default-authentication-plugin=mysql_native_password command: --default-authentication-plugin=mysql_native_password
restart: always
volumes: volumes:
- ./mysql/etc:/etc/mysql - ./mysql/etc:/etc/mysql
- ./mysql/data:/var/lib/mysql - ./mysql/data:/var/lib/mysql

Loading…
Cancel
Save