Last active
April 19, 2022 01:49
-
-
Save bidhanahdib/39a778e9d55b096559ed407c8d2c5b66 to your computer and use it in GitHub Desktop.
Docker composer file for mysql and phpmyadmin
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.2' | |
services: | |
db: | |
image: mysql:8.0 | |
container_name: appsDB | |
restart: always | |
ports: | |
- '6603:3306' | |
environment: | |
MYSQL_ROOT_PASSWORD: helloworld | |
app: | |
depends_on: | |
- db | |
image: phpmyadmin/phpmyadmin | |
container_name: phpmyadmin | |
restart: always | |
ports: | |
- '8080:80' | |
environment: | |
PMA_HOST: db | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks !