Created
February 20, 2022 23:47
-
-
Save pawiromitchel/986fdb203fcca1032eb0f5e8ba9e2b82 to your computer and use it in GitHub Desktop.
[mysql + phpmyadmin] #mysql #docker
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 | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_DATABASE: test_db | |
ports: | |
- "3308:3306" | |
phpmyadmin: | |
image: phpmyadmin/phpmyadmin:latest | |
restart: always | |
environment: | |
PMA_HOST: db | |
PMA_USER: root | |
PMA_PASSWORD: root | |
ports: | |
- "8080:80" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment