Last active
October 14, 2020 11:05
-
-
Save memoryonrepeat/a5815ef2a4b61007946b7695fba645e8 to your computer and use it in GitHub Desktop.
MySQL Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| fcg-mysql: | |
| image: mysql:5 | |
| command: --default-authentication-plugin=mysql_native_password --lower_case_table_names=2 | |
| environment: | |
| MYSQL_ROOT_PASSWORD: "" | |
| MYSQL_ALLOW_EMPTY_PASSWORD: "yes" | |
| MYSQL_ROOT_HOST: "%" | |
| expose: | |
| - 3306 | |
| ports: | |
| - 3306:3306 | |
| volumes: | |
| - ~/mysql-docker/data:/var/lib/mysql | |
| # - ~/mysql-docker/mysqlconf/my.cnf:/etc/mysql/my.cnf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment