Last active
March 12, 2019 00:01
-
-
Save shmink/79a04673d1bf8dede3f35409999db2d0 to your computer and use it in GitHub Desktop.
local docker MySQL server for local development
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: | |
mysql: | |
image: mysql:5.7 | |
ports: | |
- "3306:3306" | |
environment: | |
MYSQL_ROOT_PASSWORD: "root" | |
MYSQL_USER: "app" | |
MYSQL_PASSWORD: "app" | |
volumes: | |
- ./db:/var/lib/mysql | |
volumes: | |
mysqltest: | |
driver: "local" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I personally just use my GUI MySQL browser. Set up a connection to
127.0.0.1
with the username and password beingroot
.