Created
April 11, 2020 19:40
-
-
Save ashutoshkarna03/fe569bea53f9e55e31f17ae1a2a5747c to your computer and use it in GitHub Desktop.
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: | |
mysqldb: | |
image: mysql:8.0.2 | |
environment: | |
MYSQL_ROOT_PASSWORD: MYSQL_ROOT_PASSWORD | |
MYSQL_DATABASE: MYSQL_DATABASE | |
ports: | |
- "3306:3306" | |
volumes: | |
- "./config/my.conf:/etc/mysql/conf.d/config-file.cnf" | |
- "./data:/var/lib/mysql:rw" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment