Skip to content

Instantly share code, notes, and snippets.

@orod
Created May 8, 2015 14:20
Show Gist options
  • Save orod/c54ebf0b4b813096f3a6 to your computer and use it in GitHub Desktop.
Save orod/c54ebf0b4b813096f3a6 to your computer and use it in GitHub Desktop.
docker-compose file for wordpress
wordpress:
image: wordpress
links:
- db:mysql
ports:
- 8080:80
working_dir: /var/www/html
volumes:
- wordpress/wp-content/:/var/www/html/wp-content
db:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment