Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mariadb + phpmyadmin docker-compose
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
@aceroAD

This comment has been minimized.

Copy link

aceroAD commented Oct 18, 2018

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?

@ultrara1n

This comment has been minimized.

Copy link

ultrara1n commented Dec 16, 2018

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

@ispf72

This comment has been minimized.

Copy link

ispf72 commented Jul 14, 2019

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
You can’t perform that action at this time.