Skip to content

Commit

Permalink
Adds wordpress and mysql dbs
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorocha committed Jul 25, 2017
0 parents commit 7109b83
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions db/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM mysql
7 changes: 7 additions & 0 deletions db/wedeploy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"id": "db",
"volume": "/var/lib/mysql",
"env": {
"MYSQL_ROOT_PASSWORD": "passw0rd"
}
}
1 change: 1 addition & 0 deletions wp/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM wordpress
8 changes: 8 additions & 0 deletions wp/wedeploy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id": "wp",
"env": {
"WORDPRESS_DB_HOST": "db",
"WORDPRESS_DB_USER": "root",
"WORDPRESS_DB_PASSWORD": "passw0rd"
}
}

0 comments on commit 7109b83

Please sign in to comment.