Skip to content

Instantly share code, notes, and snippets.

@khromov

khromov/README.md

Last active Sep 20, 2020
Embed
What would you like to do?
docker-compose file for phpMyAdmin and MySQL
version: '3.7'
services:
db:
image: mysql:5.7
volumes:
- ./db:/var/lib/mysql
- ./scripts:/root/scripts
environment:
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: db
MYSQL_USER: db
MYSQL_PASSWORD: db
phpmyadmin:
depends_on:
- db
image: phpmyadmin/phpmyadmin
ports:
- "8080:80"
environment:
PMA_HOST: db
PMA_USER: db
PMA_PASSWORD: db
MYSQL_ROOT_PASSWORD: secret
UPLOAD_LIMIT: 2G
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.