Skip to content

Instantly share code, notes, and snippets.

@dmiyakawa
Created May 4, 2018 04:11
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 dmiyakawa/98888923e53807ac97bb8cfbc5193285 to your computer and use it in GitHub Desktop.
Save dmiyakawa/98888923e53807ac97bb8cfbc5193285 to your computer and use it in GitHub Desktop.
WordPress on Docker Compose
wordpress:
image: wordpress:latest
links:
- db:mysql
ports:
- '127.0.0.1:8080:80'
db:
image: mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: password123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment