This commit is contained in:
2024-07-26 22:34:20 +02:00
parent a918b46e6c
commit 34fb5c2c2d
188 changed files with 1028 additions and 540 deletions

View File

@ -0,0 +1,6 @@
# Ninegate
ProxyPass /ninegate http://ninegate/ninegate retry=0 keepalive=On
ProxyPassReverse /ninegate http://ninegate/ninegate retry=0
ProxyPass /wssninegate ws://ninegate/wssninegate retry=0 keepalive=On
ProxyPassReverse /wssninegate ws://ninegate/wssninegate retry=0

View File

@ -29,10 +29,13 @@ function destroyninegate {
stop $NINEGATE_SERVICE_NAME 1
docker-compose rm -s -v -f "$NINEGATE_SERVICE_NAME"
if [[ -z $1 ]]; then Question_ouinon "Souhaitez-vous supprimer la BDD associé à $NINEGATE_SERVICE_NAME ?";fi
if [[ "$?" = 0 || -z $1 ]]
if [[ -z $1 ]]; then
Question_ouinon "Souhaitez-vous supprimer la BDD associé à $NINEGATE_SERVICE_NAME ?";
response=$?
fi
if [[ "$response" == 0 || ! -z $1 ]]
then
EchoRouge "Delete BDD = $NINEGATE_SERVICE_NAME"
docker-compose exec $MARIADB_SERVICE_NAME /nine/delete.sh $NINEGATE_SERVICE_NAME
fi