diff --git a/.gitignore b/.gitignore index df202e6..40af1f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.tmp/ node_modules/ theme/style.css theme/bundle.js diff --git a/docker-compose.yml b/docker-compose.yml index eb0767f..e90d935 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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