Last active
January 21, 2021 23:36
-
-
Save EnetoJara/3a55036f7a6b574ebf97bac0939f487f 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.3" | |
services: | |
db: | |
image: mysql | |
command: --default-authentication-plugin=mysql_native_password | |
volumes: | |
- ./mysql-dump:/docker-entrypoint-initdb.d | |
environment: | |
MYSQL_DATABASE: "tutorial" | |
MYSQL_USER: "root" | |
MYSQL_ROOT_PASSWORD: "password" | |
ports: | |
- "3306:3306" | |
expose: | |
- "3306" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment