Created
February 16, 2021 19:50
-
-
Save imasimali/aea60018aef02857a0df0ceb997f5b8e to your computer and use it in GitHub Desktop.
PHPMYSQL (Docker Compose)
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: mysqlrootpassword | |
MYSQL_DATABASE: test_db | |
ports: | |
- "3308:3306" | |
phpmyadmin: | |
image: phpmyadmin:latest | |
restart: always | |
environment: | |
PMA_HOST: db | |
ports: | |
- "8080:80" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment