Persist dev data in temp folder
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
|
.tmp/
|
||||||
node_modules/
|
node_modules/
|
||||||
theme/style.css
|
theme/style.css
|
||||||
theme/bundle.js
|
theme/bundle.js
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ wordpress:
|
|||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./.tmp/wp-content:/var/www/html/wp-content
|
||||||
- ./theme:/var/www/html/wp-content/themes/windycoys
|
- ./theme:/var/www/html/wp-content/themes/windycoys
|
||||||
db:
|
db:
|
||||||
environment:
|
environment:
|
||||||
@@ -17,3 +18,5 @@ db:
|
|||||||
- MYSQL_ROOT_PASSWORD=password
|
- MYSQL_ROOT_PASSWORD=password
|
||||||
- MYSQL_USER=windycoys
|
- MYSQL_USER=windycoys
|
||||||
image: 'mariadb:10.3.4'
|
image: 'mariadb:10.3.4'
|
||||||
|
volumes:
|
||||||
|
- ./.tmp/mysql:/var/lib/mysql
|
||||||
|
|||||||
Reference in New Issue
Block a user