Last active
June 27, 2021 09:21
-
-
Save luqmansen/f8ef62e02363975b17bbffb0deb9b19e to your computer and use it in GitHub Desktop.
mysql docker compose
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.1' | |
services: | |
db: | |
image: mysql | |
ports: | |
- "3306:3306" | |
environment: | |
MYSQL_DATABASE: morph | |
MYSQL_USER: mysql | |
MYSQL_PASSWORD: mysql | |
MYSQL_ROOT_PASSWORD: mysql | |
volumes: | |
- persistent:/var/lib/mysql | |
volumes: | |
persistent: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment