svg
This commit is contained in:
6
services/50-nineboard/apache/apache.conf
Normal file
6
services/50-nineboard/apache/apache.conf
Normal 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
|
18
services/50-nineboard/dockercompose/dockercompose.yml
Normal file
18
services/50-nineboard/dockercompose/dockercompose.yml
Normal 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
6
services/50-nineboard/env/.env
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
# == NINEBOARD ============================================================================================================================
|
||||
|
||||
APP_AUTH=${MODE_AUTH}
|
||||
APP_ALIAS=nineboard
|
||||
|
34
services/50-nineboard/misc/nine.sh
Normal file
34
services/50-nineboard/misc/nine.sh
Normal 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
|
||||
}
|
Reference in New Issue
Block a user