svg
This commit is contained in:
5
services/50-wordpress/apache/apache.conf
Normal file
5
services/50-wordpress/apache/apache.conf
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
# wordpress
|
||||
ProxyPass /wordpress http://wordpress/wordpress retry=0 keepalive=On
|
||||
ProxyPassReverse /wordpress http://wordpress/wordpress retry=0
|
||||
|
@ -28,11 +28,15 @@ function destroywordpress {
|
||||
stop $WORDPRESS_SERVICE_NAME 1
|
||||
docker-compose rm -s -v -f "$WORDPRESS_SERVICE_NAME"
|
||||
|
||||
|
||||
if [[ -z $1 ]]; then Question_ouinon "Souhaitez-vous supprimer la BDD associé à $WORDPRESS_SERVICE_NAME ?";fi
|
||||
if [[ "$?" = 0 || -z $1 ]]
|
||||
if [[ -z $1 ]]; then
|
||||
Question_ouinon "Souhaitez-vous supprimer la BDD associé à $WORDPRESS_SERVICE_NAME ?";
|
||||
response=$?
|
||||
fi
|
||||
if [[ "$response" == 0 || ! -z $1 ]]
|
||||
then
|
||||
EchoRouge "Delete BDD = $WORDPRESS_SERVICE_NAME"
|
||||
docker-compose exec $MARIADB_SERVICE_NAME /nine/delete.sh $WORDPRESS_SERVICE_NAME
|
||||
rm -rf services/50-wordpress/volume/data
|
||||
fi
|
||||
|
||||
echo ""
|
||||
|
Reference in New Issue
Block a user