Skip to content

Commit

Permalink
added docker test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Nov 28, 2016
1 parent d5a9fcd commit 6fef2ea
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docker-compose.yml
@@ -0,0 +1,26 @@
version: '2'
services:
db:
image: mysql:5.7
restart: always
environment:
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress

wordpress:
depends_on:
- db
image: wordpress:latest
links:
- db
ports:
- "80:80"
volumes:
- ./sempress:/var/www/html/wp-content/themes/sempress
restart: always
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DEBUG: 1

0 comments on commit 6fef2ea

Please sign in to comment.