Skip to content

Instantly share code, notes, and snippets.

@dirkcuys
Created October 2, 2018 14:52
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 dirkcuys/b11c790a2b122966742a1d4e29db1e84 to your computer and use it in GitHub Desktop.
Save dirkcuys/b11c790a2b122966742a1d4e29db1e84 to your computer and use it in GitHub Desktop.
version: '3'
services:
wordpress:
image: wordpress
ports:
- 8081:80
environment:
- WORDPRESS_DB_USER=root
- WORDPRESS_DB_PASSWORD=password
- WORDPRESS_DB_HOST=mysql
- WORDPRESS_DB_NAME=info_p2pu_org_1
depends_on:
- mysql
volumes:
- ./wordpress-src:/var/www/html
mysql:
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment