To get a local Mysql server with PhpMyAdmin using Docker Compose.
-
Clone this repo.
-
Copy the ".env.dist" file, rename it to ".env" and configure your stack.
Refer to documentation pages for environment variable usage :
-
Use the manage.sh script to launch the stack.
Windows users will need gitbash to use the manage.sh script.
./manage.sh up -
Once the stack is up and running, you can access PhpMyAdmin by visiting http://127.0.0.1:8888.
Fill the "server" field with "mysql".
-
Help:
./manage.sh -
Launch the stack:
./manage.sh up -
Stop the stack:
./manage.sh down -
Reset the stack:
./manage.sh reset