Persist dev data in temp folder

This commit is contained in:
2018-02-27 16:32:18 +00:00
parent a787095934
commit 6522e033d0
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.tmp/
node_modules/
theme/style.css
theme/bundle.js

View File

@@ -9,6 +9,7 @@ wordpress:
ports:
- "80:80"
volumes:
- ./.tmp/wp-content:/var/www/html/wp-content
- ./theme:/var/www/html/wp-content/themes/windycoys
db:
environment:
@@ -17,3 +18,5 @@ db:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=windycoys
image: 'mariadb:10.3.4'
volumes:
- ./.tmp/mysql:/var/lib/mysql