add sentinel + correction ninegate/nineskeletor + add nine pull

This commit is contained in:
2024-09-28 17:25:52 +02:00
parent dc62da5bdf
commit 071919ad82
6 changed files with 73 additions and 19 deletions

View File

@ -10,3 +10,5 @@ services:
- nine-network
environment:
- TZ=Europe/Paris
volumes:
- ./services/30-redis/volume/data:/data:rw

View File

@ -18,6 +18,16 @@ function destroyredis(){
stop $REDIS_SERVICE_NAME 1
docker-compose rm -s -v -f "$REDIS_SERVICE_NAME"
if [[ -z $1 ]]; then
Question_ouinon "Souhaitez-vous supprimer la BDD associé à $REDIS_SERVICE_NAME ?";
response=$?
fi
if [[ "$response" == 0 || ! -z $1 ]]
then
EchoRouge "Delete BDD = $REDIS_SERVICE_NAME"
rm -rf services/30-redis/volume/data
fi
echo ""
fi
}