pb wordpress

This commit is contained in:
2024-03-13 19:13:53 +01:00
parent eae3fc7bdc
commit f5930cf215
4 changed files with 14 additions and 11 deletions

View File

@ -129,7 +129,7 @@ services:
ports:
- "9003:80"
volumes:
- ./volume/wordpress/data:/app/public
- ./volume/wordpress/data:/app/public/wp-content
adminer:
image: docker.io/library/adminer

View File

@ -475,6 +475,7 @@ destroy(){
if [[ "$?" = 0 || -z $2 ]]
then
$PODCOMPOSEBIN exec $MARIADB_SERVICE_NAME /envole/delete.sh $WORDPRESS_SERVICE_NAME
sudo rm -rf volume/wordpress/data
fi
fi
}