Created
January 24, 2019 10:12
-
-
Save ikasamt/c5489b530c9c6afef3510127a6911ca3 to your computer and use it in GitHub Desktop.
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
cat <<EOF >> docker-compose.yaml | |
# mysql | |
db01: | |
image: mysql:5.7 | |
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci | |
ports: | |
- "3307:3306" | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_ROOT_HOST: 172.18.0.3/255.0.0.0 | |
volumes: | |
# データの置き場所 | |
- ./var/lib/mysql:/var/lib/mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment