-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Alix Lourme edited this page Aug 16, 2021
·
2 revisions
Provide file mysql-phpmyadmin.yml
:
version: '3.2'
services:
db:
image: mysql:latest
container_name: database-mysql
restart: always
ports:
- '3306:3306'
environment:
MYSQL_ROOT_PASSWORD: root
app:
depends_on:
- db
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
restart: always
ports:
- '80:80'
environment:
PMA_HOST: db
And run : docker-compose -f mysql-phpmyadmin.yml up -d
Go on http://localhost and sign in with root/root
(wait a few seconds if connection refused, time to initializations).