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 @@
# Nineboard
ProxyPass /nineboard http://nineboard/nineboard retry=0 keepalive=On
ProxyPassReverse /nineboard http://nineboard/nineboard retry=0
ProxyPass /wssnineboard ws://nineboard/wssnineboard retry=0 keepalive=On
ProxyPassReverse /wssnineboard ws://nineboard/wssnineboard retry=0

View File

@ -0,0 +1,18 @@
# Nineboard
# Tableaux de bord collaboratif
# Port interne 80
nineboard:
image: reg.cadoles.com/envole/nineboard
container_name: nine-nineboard
restart: unless-stopped
healthcheck:
test: curl --fail http://localhost/nineboard || exit 1
interval: 1s
timeout: 60s
env_file: ./services/50-nineboard/env/.env.merge
networks:
- nine-network
volumes:
- ./volume/nineboard/data/private:/app/uploads
- ./volume/nineboard/data/public:/app/public/uploads

6
services/50-nineboard/env/.env vendored Normal file
View File

@ -0,0 +1,6 @@
# == NINEBOARD ============================================================================================================================
APP_AUTH=${MODE_AUTH}
APP_ALIAS=nineboard

View File

@ -0,0 +1,34 @@
#!/bin/bash
function upnineboard {
if [[ $NINEBOARD_ACTIVATE == 1 && $NINEBOARD_LOCAL == 1 ]]
then
Title ${NINEBOARD_SERVICE_NAME^^}
EchoVert "CONTAINER"
upservice ${NINEBOARD_SERVICE_NAME}
Echo
fi
}
function destroynineboard {
if [[ $NINEBOARD_LOCAL == 1 ]]
then
Title "DESTROY ${NINEBOARD_SERVICE_NAME}"
stop ${NINEBOARD_SERVICE_NAME} 1
docker-compose rm -s -v -f "${NINEBOARD_SERVICE_NAME}"
if [[ -z $1 ]]; then
Question_ouinon "Souhaitez-vous purger $NINEBOARD_SERVICE_NAME ?";
response=$?
fi
if [[ "$response" == 0 || ! -z $1 ]]
then
EchoRouge "Purge = $NINEBOARD_SERVICE_NAME"
rm -rf services/50-nineboard/volume/data
fi
echo ""
fi
}