Created
February 16, 2020 03:14
-
-
Save sgyyz/758d2f44e63ac32f898a74db6406b812 to your computer and use it in GitHub Desktop.
MySQL
This file contains 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: | |
mysql: | |
image: mysql:5.7 | |
ports: | |
- "3306:3306" | |
command: "mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci" | |
volumes: | |
- mysql-dataset:/var/lib/mysql | |
environment: | |
MYSQL_ALLOW_EMPTY_PASSWORD: "true" | |
MYSQL_DATABASE: your_database_name | |
redis: | |
image: redis | |
ports: | |
- "6379:6379" | |
volumes: | |
mysql-dataset: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment