adds a common wp cli cache volume

This commit is contained in:
2020-04-23 15:09:43 +02:00
parent 6336d5671d
commit 4edeed2e5b
3 changed files with 6 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ services:
- traefik.http.services.${PREFIX}-web.loadbalancer.server.port=80
volumes:
- web:/var/www/html
- wp-cli-cache:/var/www/.wp-cli
version: "3.4"
@@ -45,3 +46,5 @@ volumes:
name: ${PREFIX}-db
web:
name: ${PREFIX}-web
wp-cli-cache:
name: wp-cli-cache