Skip to content

Instantly share code, notes, and snippets.

@murilopontes
Created March 11, 2017 14:21
Show Gist options
  • Save murilopontes/b3f1c4721648d784d1650226d5198ee8 to your computer and use it in GitHub Desktop.
Save murilopontes/b3f1c4721648d784d1650226d5198ee8 to your computer and use it in GitHub Desktop.
wordpress_example:
image: wordpress
links:
- wordpress_db:mysql
ports:
- 8081:80
environment:
WORDPRESS_DB_PASSWORD: examplepass
wordpress_db:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: examplepass
wordpress_phpmyadmin:
image: phpmyadmin/phpmyadmin
links:
- wordpress_db:db
ports:
- 8082:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment