Skip to content

Instantly share code, notes, and snippets.

@ulyssesr
Created May 24, 2017 21:38
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 ulyssesr/c2a97a6d55333a55815408c2620373c6 to your computer and use it in GitHub Desktop.
Save ulyssesr/c2a97a6d55333a55815408c2620373c6 to your computer and use it in GitHub Desktop.
Docker compose file for WordPress
version: '2'
services:
wordpress:
image: wordpress
ports:
- 8888:80
environment:
WORDPRESS_DB_PASSWORD: password
volumes:
- ./html:/var/www/html
mysql:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment