Skip to content

Instantly share code, notes, and snippets.

@leopic
Created April 25, 2015 16:18
Show Gist options
  • Save leopic/9bf1746da5292486dd00 to your computer and use it in GitHub Desktop.
Save leopic/9bf1746da5292486dd00 to your computer and use it in GitHub Desktop.
simple docker compose for wordpress
wordpress:
image: wordpress
links:
- db:mysql
ports:
- 8080:80
volumes:
- .:/var/www/html
db:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: r00t5bl00dyr005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment