Create a phpmyadmin application which preconfiged to connect a localhost mysql service. You can use this service to login to a local mysql service.
create app folder
1 |
mkdir -p ~/docker-compose/phpmyadmin |
create compose config file
docker-compose.yml
1 2 3 4 5 6 7 8 9 |
phpmyadmin: image: phpmyadmin container_name: phpmyadmin environment: - PMA_HOSTS=your-server-localhost-address - PMA_PORTS=your-server-service-port restart: always ports: - 8080:80 |
run container
1 |
docker-compose up -d |
There are no comments yet