adds persistent root volume and shell history for www-data user
This commit is contained in:
@@ -25,6 +25,7 @@ services:
|
||||
- PHP_UPLOAD_MAX_FILESIZE=${PHP_UPLOAD_MAX_FILESIZE}
|
||||
- XDEBUG_CLIENT_HOST=${XDEBUG_CLIENT_HOST}
|
||||
- XDEBUG_MODE=${XDEBUG_MODE}
|
||||
hostname: ${PREFIX}-app
|
||||
image: ${APP_IMAGE_TAG}
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
@@ -36,6 +37,7 @@ services:
|
||||
- traefik.http.routers.${PREFIX}-webssl.tls=true
|
||||
- traefik.http.services.${PREFIX}-webssl.loadbalancer.server.port=80
|
||||
volumes:
|
||||
- root:/root
|
||||
- webroot:/var/www/html
|
||||
- wp-cli-cache:/var/www/.wp-cli
|
||||
db:
|
||||
@@ -80,6 +82,8 @@ version: "3.4"
|
||||
volumes:
|
||||
db:
|
||||
name: ${PREFIX}-db
|
||||
root:
|
||||
name: ${PREFIX}-root
|
||||
traefik-certs:
|
||||
name: ${PREFIX}-traefik-certs
|
||||
traefik-dynamic:
|
||||
|
||||
Reference in New Issue
Block a user