Created
March 10, 2017 23:10
-
-
Save ore-public/d884cc75cd0034aec9989425927dc222 to your computer and use it in GitHub Desktop.
MySQL Docker Compose
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
[mysqld] | |
character-set-server=utf8 |
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
mysql55: | |
restart: always | |
image: mysql:5.5 | |
ports: | |
- "3306:3306" | |
environment: | |
- MYSQL_DATABASE=XXX | |
- MYSQL_USER=hoge | |
- MYSQL_PASSWORD=hogehoge | |
- MYSQL_ROOT_PASSWORD=fugafuga | |
volumes: | |
- /Users/xxxxx/docker/mysql55/conf.d:/etc/mysql/conf.d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment