Last active
November 24, 2022 02:24
-
-
Save akosveres/b7f9173ccb7b00a8db67e5149f410bb5 to your computer and use it in GitHub Desktop.
Mariadb + phpmyadmin 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: "2" | |
services: | |
db: | |
image: mariadb | |
environment: | |
- MYSQL_ROOT_PASSWORD=test | |
- MYSQL_DATABASE=radio | |
volumes: | |
- ./database:/var/lib/mysql | |
phpmyadmin: | |
image: phpmyadmin/phpmyadmin | |
container_name: phpmyadmin | |
environment: | |
- PMA_ARBITRARY=1 | |
- PMA_HOST=db | |
restart: always | |
ports: | |
- 8080:80 | |
volumes: | |
- /sessions | |
links: | |
- db |
ive use this yml to help me create a server but when i connect to phpmyadmin it appears also a textfield asking me for a server.. and why /sessions is not binded to a host?
remove - PMA_ARBITRARY=1
non riconosce utente e password dando il seguente messaggio mysqli_real_connect(): (HY000/1130): Host '172.19.0.3' is not allowed to connect to this MariaDB server
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ive use this yml to help me create a server but when i connect to phpmyadmin it appears also a textfield asking me for a server.. and why /sessions is not binded to a host?