svg
14
services/50-ninegate/dockercompose/dockercompose.yml
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
# Ninegate
|
||||
# Portail collaboratif
|
||||
# Port interne 80
|
||||
ninegate:
|
||||
image: reg.cadoles.com/envole/ninegate
|
||||
container_name: nine-ninegate
|
||||
restart: unless-stopped
|
||||
env_file: ./services/50-ninegate/env/.env.merge
|
||||
networks:
|
||||
- nine-network
|
||||
volumes:
|
||||
- ./services/50-ninegate/volume/data/private:/app/uploads
|
||||
- ./services/50-ninegate/volume/data/public:/app/public/uploads
|
27
services/50-ninegate/env/.env
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
|
||||
# == NINEGATE =============================================================================================================================
|
||||
|
||||
# BDD
|
||||
DATABASE_NAME=${NINEGATE_SERVICE_NAME}
|
||||
DATABASE_USER=${MARIADB_USER}
|
||||
DATABASE_PASSWORD=${MARIADB_PASSWORD}
|
||||
DATABASE_HOST=${MARIADB_SERVICE_NAME}
|
||||
|
||||
# Activation Widget
|
||||
ACTIVATE_WIDADMINER=${ADMINER_ACTIVATE}
|
||||
WIDADMINER_URL="${ADMINER_URL}"
|
||||
|
||||
ACTIVATE_WIDPHPLDAPADMIN=${PHPLDAPADMIN_ACTIVATE}
|
||||
WIDPHPLDAPADMIN_URL=${PHPLDAPADMIN_URL}
|
||||
|
||||
ACTIVATE_WIDNEXTCLOUD=${NEXTCLOUD_ACTIVATE}
|
||||
WIDNEXTCLOUD_URL=${NEXTCLOUD_URL}
|
||||
|
||||
ACTIVATE_WIDNINEBOARD=${NINEBOARD_ACTIVATE}
|
||||
WIDNINEBOARD_URL=${NINEBOARD_URL}
|
||||
|
||||
ACTIVATE_WIDWORDPRESS=${WORDPRESS_ACTIVATE}
|
||||
WIDWORDPRESS_URL=${WORDPRESS_URL}
|
||||
|
||||
INITPWDADMIN=${ADMIN_PASSWORD}
|
||||
|
41
services/50-ninegate/misc/nine.sh
Normal file
@ -0,0 +1,41 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
function upninegate {
|
||||
if [[ $NINEGATE_ACTIVATE == 1 && $NINEGATE_LOCAL == 1 ]]
|
||||
then
|
||||
Title ${NINEGATE_SERVICE_NAME^^}
|
||||
|
||||
if [[ $MARIADB_ACTIVATE == 1 && $MARIADB_LOCAL == 1 ]]
|
||||
then
|
||||
EchoVert "DATABASE"
|
||||
Echo ${NINEGATE_SERVICE_NAME^^}
|
||||
docker-compose exec $MARIADB_SERVICE_NAME /nine/init.sh $NINEGATE_SERVICE_NAME
|
||||
Echo
|
||||
fi
|
||||
|
||||
EchoVert "CONTAINER"
|
||||
upservice ${NINEGATE_SERVICE_NAME}
|
||||
chmod -R a+wr ./services/50-ninegate/volume/data
|
||||
Echo
|
||||
fi
|
||||
}
|
||||
|
||||
function destroyninegate {
|
||||
if [[ $NINEGATE_LOCAL == 1 ]]
|
||||
then
|
||||
Title "DESTROY $NINEGATE_SERVICE_NAME"
|
||||
|
||||
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 ]]
|
||||
then
|
||||
docker-compose exec $MARIADB_SERVICE_NAME /nine/delete.sh $NINEGATE_SERVICE_NAME
|
||||
fi
|
||||
|
||||
echo ""
|
||||
fi
|
||||
}
|
0
services/50-ninegate/volume/data/private/.gitkeep
Normal file
BIN
services/50-ninegate/volume/data/public/avatar/admin.jpg
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
services/50-ninegate/volume/data/public/avatar/noavatar.png
Normal file
After Width: | Height: | Size: 936 B |
BIN
services/50-ninegate/volume/data/public/avatar/system.jpg
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
services/50-ninegate/volume/data/public/header/header.png
Normal file
After Width: | Height: | Size: 122 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_add.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_adminer.png
Normal file
After Width: | Height: | Size: 7.9 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_anchor.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_aperture.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_arrow-down.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_arrow-up.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_art.png
Normal file
After Width: | Height: | Size: 7.5 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_balado.png
Normal file
After Width: | Height: | Size: 7.5 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_bar-chart.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 3.4 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_batterylow.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_bdd.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_bike.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_biker.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_bikewheel.png
Normal file
After Width: | Height: | Size: 7.4 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_blimp.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_bolt.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_bomb.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_booklet.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_bookshelf.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_briefcase.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_brightness.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_browser.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 6.8 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_cadoles.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_calculator.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_calendar.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_camera.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_car.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_cart.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_carwheel.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_caution.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_cdt.png
Normal file
After Width: | Height: | Size: 8.4 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_chart.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_chartpie.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_chat.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_check.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 6.4 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_clapboard.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_clipboard.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_clock.png
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_cloud.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_cmyk.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_colorwheel.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_compass.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_compose.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_computer.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_cone.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_contacts.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_contrast.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_countdown.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_creditcard.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_crop.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_crossroads.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_crous.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_cruise.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_cursor.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_denied.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_dev.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_die.png
Normal file
After Width: | Height: | Size: 8.0 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_document.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_dokuwiki.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_dolly.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_door.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_download.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_ead.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_easel.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_econnect.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_email.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_eoe.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_eop.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_etherhome.png
Normal file
After Width: | Height: | Size: 7.4 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_euro.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_eye.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_eyedropper.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_fashion.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_filmreel.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_filmroll.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_flag.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_flame.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_flash.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_flower.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_fluxbb.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_focus.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_folder.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_frames.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 5.6 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_gas.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_gear.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_genconfig.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_genius.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
services/50-ninegate/volume/data/public/icon/icon_gepi.png
Normal file
After Width: | Height: | Size: 5.4 KiB |