Setup MySQL and phpMyAdmin using Docker Compose
Updated:
Docker Compose Configuration
Create a docker-compose.yml
file with the following content:
Steps to Run
-
Save the
docker-compose.yml
file in your project directory. -
Run the following commands:
-
Access phpMyAdmin in your browser:
- URL: http://localhost:8080
- Username: root
- Password: rootpassword