Persist dev data in temp folder
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
.tmp/
|
||||
node_modules/
|
||||
theme/style.css
|
||||
theme/bundle.js
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user