Created
April 27, 2022 22:55
-
-
Save jcbombardelli/ef7f8f51fc87b087e08a7e2ba9619120 to your computer and use it in GitHub Desktop.
docker-compose up -d mysql
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
version: "3" | |
# MySQL database for services. | |
mysql: | |
image: mysql:5.7.17 | |
ports: | |
- "3306:3306" | |
volumes: | |
- mysql:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=development | |
volumes: | |
mysql: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment