-
-
Save habibor-rahaman1010/dd7e361135bba3ba8cb0c3b87d5f9966 to your computer and use it in GitHub Desktop.
Quickly deploy mysql and phpMyAdmin with this docker compose file
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: | |
| mysql: | |
| image: mysql:8.4.3 | |
| restart: always | |
| ports: | |
| - 3306:3306 | |
| volumes: | |
| - ./mysql:/var/lib/mysql | |
| environment: | |
| - MYSQL_ROOT_PASSWORD=root | |
| - MYSQL_TCP_PORT=3306 | |
| phpMyAdmin: | |
| image: phpmyadmin | |
| restart: always | |
| ports: | |
| - 8080:80 | |
| environment: | |
| - PMA_ARBITRARY=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment