Skip to content

Instantly share code, notes, and snippets.

@rodrigo-brito
Last active October 8, 2017 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodrigo-brito/819a952623183213de415542a37f3b68 to your computer and use it in GitHub Desktop.
Save rodrigo-brito/819a952623183213de415542a37f3b68 to your computer and use it in GitHub Desktop.
version: '3.1'
services:
mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: root
phpmyadmin:
image: phpmyadmin/phpmyadmin
depends_on:
- mysql
ports:
- 12000:80
links:
- mysql:db
wordpress:
image: wordpress
ports:
- 8080:80
depends_on:
- mysql
environment:
WORDPRESS_DB_PASSWORD: root
volumes:
- ./themes/:/var/www/html/wp-content/themes
- ./plugins/:/var/www/html/wp-content/plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment