Skip to content

Instantly share code, notes, and snippets.

@Voles
Created January 22, 2018 10:04
Show Gist options
  • Save Voles/178bd5cac8381ceffb777c28d68222b3 to your computer and use it in GitHub Desktop.
Save Voles/178bd5cac8381ceffb777c28d68222b3 to your computer and use it in GitHub Desktop.
MySQL with phpMyAdmin setup using Docker Compose
version: "2"
services:
mysql:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: mypassword
phpmyadmin:
image: phpmyadmin/phpmyadmin
restart: always
depends_on:
- mysql
ports:
- 8080:80
links:
- mysql:db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment