ajout ninefolio
This commit is contained in:
parent
91b42232f0
commit
4714e705ad
5
services/50-ninefolio/apache/apache.conf
Normal file
5
services/50-ninefolio/apache/apache.conf
Normal file
@ -0,0 +1,5 @@
|
||||
# ninefolio
|
||||
ProxyPass /ninefolio http://ninefolio/ninefolio retry=0 keepalive=On
|
||||
ProxyPassReverse /ninefolio http://ninefolio/ninefolio retry=0
|
||||
ProxyPass /wssninefolio ws://ninefolio/wssninefolio retry=0 keepalive=On
|
||||
ProxyPassReverse /wssninefolio ws://ninefolio/wssninefolio retry=0
|
14
services/50-ninefolio/dockercompose/dockercompose.yml
Normal file
14
services/50-ninefolio/dockercompose/dockercompose.yml
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
# ninefolio
|
||||
# Portail collaboratif
|
||||
# Port interne 80
|
||||
ninefolio:
|
||||
image: reg.cadoles.com/envole/ninefolio
|
||||
container_name: nine-ninefolio
|
||||
restart: unless-stopped
|
||||
env_file: ./services/50-ninefolio/env/.env.merge
|
||||
networks:
|
||||
- nine-network
|
||||
volumes:
|
||||
- ./services/50-ninefolio/volume/data/private:/app/uploads
|
||||
- ./services/50-ninefolio/volume/data/public:/app/public/uploads
|
17
services/50-ninefolio/env/.env
vendored
Normal file
17
services/50-ninefolio/env/.env
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
# == NINEFOLIO =============================================================================================================================
|
||||
|
||||
# BASIC
|
||||
APP_ALIAS=ninefolio
|
||||
APP_NAME="NINEFOLIO"
|
||||
APP_CRON=1
|
||||
|
||||
|
||||
# BDD
|
||||
DATABASE_NAME=${NINEFOLIO_SERVICE_NAME}
|
||||
DATABASE_USER=${MARIADB_USER}
|
||||
DATABASE_PASSWORD=${MARIADB_PASSWORD}
|
||||
DATABASE_HOST=${MARIADB_SERVICE_NAME}
|
||||
|
||||
|
||||
|
44
services/50-ninefolio/misc/nine.sh
Normal file
44
services/50-ninefolio/misc/nine.sh
Normal file
@ -0,0 +1,44 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
function upninefolio {
|
||||
if [[ $NINEFOLIO_ACTIVATE == 1 && $NINEFOLIO_LOCAL == 1 ]]
|
||||
then
|
||||
Title ${NINEFOLIO_SERVICE_NAME^^}
|
||||
|
||||
if [[ $MARIADB_ACTIVATE == 1 && $MARIADB_LOCAL == 1 ]]
|
||||
then
|
||||
EchoVert "DATABASE"
|
||||
Echo ${NINEFOLIO_SERVICE_NAME^^}
|
||||
docker-compose exec $MARIADB_SERVICE_NAME /nine/init.sh $NINEFOLIO_SERVICE_NAME
|
||||
Echo
|
||||
fi
|
||||
|
||||
EchoVert "CONTAINER"
|
||||
upservice ${NINEFOLIO_SERVICE_NAME}
|
||||
chmod -R a+wr ./services/50-ninefolio/volume/data
|
||||
Echo
|
||||
fi
|
||||
}
|
||||
|
||||
function destroyninefolio {
|
||||
if [[ $NINEFOLIO_LOCAL == 1 ]]
|
||||
then
|
||||
Title "DESTROY $NINEFOLIO_SERVICE_NAME"
|
||||
|
||||
stop $NINEFOLIO_SERVICE_NAME 1
|
||||
docker-compose rm -s -v -f "$NINEFOLIO_SERVICE_NAME"
|
||||
|
||||
if [[ -z $1 ]]; then
|
||||
Question_ouinon "Souhaitez-vous supprimer la BDD associé à $NINEFOLIO_SERVICE_NAME ?";
|
||||
response=$?
|
||||
fi
|
||||
if [[ "$response" == 0 || ! -z $1 ]]
|
||||
then
|
||||
EchoRouge "Delete BDD = $NINEFOLIO_SERVICE_NAME"
|
||||
docker-compose exec $MARIADB_SERVICE_NAME /nine/delete.sh $NINEFOLIO_SERVICE_NAME
|
||||
fi
|
||||
|
||||
echo ""
|
||||
fi
|
||||
}
|
BIN
services/50-ninefolio/volume/data/public/avatar/admin.jpg
Normal file
BIN
services/50-ninefolio/volume/data/public/avatar/admin.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
BIN
services/50-ninefolio/volume/data/public/avatar/noavatar.png
Normal file
BIN
services/50-ninefolio/volume/data/public/avatar/noavatar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 936 B |
BIN
services/50-ninefolio/volume/data/public/avatar/system.jpg
Normal file
BIN
services/50-ninefolio/volume/data/public/avatar/system.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
services/50-ninefolio/volume/data/public/hero/hero.jpg
Normal file
BIN
services/50-ninefolio/volume/data/public/hero/hero.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 380 KiB |
BIN
services/50-ninefolio/volume/data/public/logo/logo.png
Normal file
BIN
services/50-ninefolio/volume/data/public/logo/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Loading…
Reference in New Issue
Block a user