Created
October 8, 2022 13:04
-
-
Save isaacharrisholt/f6516949921df18d70dd05b7f89aadce to your computer and use it in GitHub Desktop.
A simple docker-compose file for a MySQL database
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
services: | |
db: | |
image: mysql | |
environment: | |
MYSQL_ROOT_PASSWORD: password | |
MYSQL_DATABASE: default | |
MYSQL_USER: user | |
MYSQL_PASSWORD: password | |
ports: | |
- "3306:3306" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment