ninefolio
This commit is contained in:
parent
4714e705ad
commit
aacd73e3c4
|
@ -29,6 +29,23 @@ docker-compose.yml
|
|||
/services/50-nineboard/volume/data/public/logo/*
|
||||
!/services/50-nineboard/volume/data/public/logo/logo.png
|
||||
|
||||
/services/50-ninefolio/volume/data/build
|
||||
/services/50-ninefolio/volume/data/private/*
|
||||
!/services/50-ninefolio/volume/data/private/.gitkeep
|
||||
!/services/50-ninefolio/volume/data/public/avatar
|
||||
/services/50-ninefolio/volume/data/public/avatar/*
|
||||
!/services/50-ninefolio/volume/data/public/avatar/admin.jpg
|
||||
!/services/50-ninefolio/volume/data/public/avatar/noavatar.png
|
||||
!/services/50-ninefolio/volume/data/public/avatar/system.jpg
|
||||
!/services/50-ninefolio/volume/data/public/logo
|
||||
/services/50-ninefolio/volume/data/public/logo/*
|
||||
!/services/50-ninefolio/volume/data/public/logo/logo.png
|
||||
!/services/50-ninefolio/volume/data/public/hero
|
||||
/services/50-ninefolio/volume/data/public/hero/*
|
||||
!/services/50-ninefolio/volume/data/public/hero/hero.jpg
|
||||
/services/50-ninefolio/volume/data/public/image/*
|
||||
!/services/50-ninefolio/volume/data/public/image/contact.jpg
|
||||
!/services/50-ninefolio/volume/data/public/image/link.jpg
|
||||
|
||||
/services/50-ninegate/volume/data/private/*
|
||||
!/services/50-ninegate/volume/data/private/.gitkeep
|
||||
|
|
|
@ -45,14 +45,14 @@ MTA_RELAY_USER="user"
|
|||
|
||||
# DEBUGING MTA
|
||||
# fake-smtp server
|
||||
FAKE_SMTP_NAME=fakesmtp
|
||||
FAKE_SMTP_LOCAL=1
|
||||
FAKE_SMTP_ACTIVATE=1
|
||||
FAKESMTP_SERVICE_NAME=fakesmtp
|
||||
FAKESMTP_LOCAL=1
|
||||
FAKESMTP_ACTIVATE=1
|
||||
# si actif, il faut sans doute l’utiliser
|
||||
# comme passerelle pour le service MTA
|
||||
if [ "$FAKE_SMTP_ACTIVATE" -eq 1 ]
|
||||
if [ "$FAKESMTP_ACTIVATE" -eq 1 ]
|
||||
then
|
||||
MTA_RELAY_HOST="$FAKE_SMTP_NAME"
|
||||
MTA_RELAY_HOST="$FAKESMTP_NAME"
|
||||
MTA_RELAY_PORT=2525
|
||||
fi
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
services:
|
||||
# ninefolio
|
||||
# Portail collaboratif
|
||||
# Port interne 80
|
||||
|
@ -12,3 +12,5 @@
|
|||
volumes:
|
||||
- ./services/50-ninefolio/volume/data/private:/app/uploads
|
||||
- ./services/50-ninefolio/volume/data/public:/app/public/uploads
|
||||
- ./services/50-ninefolio/volume/data/build:/app/public/build
|
||||
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
|
||||
# == NINEFOLIO =============================================================================================================================
|
||||
|
||||
|
||||
# BASIC
|
||||
APP_ALIAS=ninefolio
|
||||
APP_NAME="NINEFOLIO"
|
||||
APP_CRON=1
|
||||
|
||||
# Webpack
|
||||
APP_PUBLIC_PATH=/${APP_ALIAS}/build
|
||||
APP_MANIFEST_KEY_PREFIX=${APP_ALIAS}
|
||||
|
||||
# BDD
|
||||
DATABASE_NAME=${NINEFOLIO_SERVICE_NAME}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 146 KiB |
Binary file not shown.
After Width: | Height: | Size: 295 KiB |
|
@ -12,4 +12,4 @@ services:
|
|||
volumes:
|
||||
- ./services/50-nineskeletor/volume/apache:/etc/apache2/conf.d/nine
|
||||
- ./services/50-nineskeletor/volume/data/private:/app/uploads
|
||||
- ./services/50-nineskeletor/volume/data/public:/app/public/uploads
|
||||
- ./services/50-nineskeletor/volume/data/public:/app/public/uploads
|
|
@ -8,4 +8,4 @@ services:
|
|||
networks:
|
||||
- nine-network
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "6080:8080"
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
#!/bin/bash
|
||||
|
||||
function upfakesmtp {
|
||||
if [[ $FAKE_SMTP_ACTIVATE == 1 && $FAKE_SMTP_LOCAL == 1 ]]
|
||||
if [[ $FAKESMTP_ACTIVATE == 1 && $FAKESMTP_LOCAL == 1 ]]
|
||||
then
|
||||
Title ${FAKE_SMTP_NAME^^}
|
||||
Title ${FAKESMTP_SERVICE_NAME^^}
|
||||
EchoVert "CONTAINER"
|
||||
upservice ${FAKE_SMTP_NAME}
|
||||
upservice ${FAKESMTP_SERVICE_NAME}
|
||||
Echo
|
||||
fi
|
||||
}
|
||||
|
||||
function destroyfakesmtp {
|
||||
if [[ $FAKE_SMTP_LOCAL == 1 ]]
|
||||
if [[ $FAKESMTP_LOCAL == 1 ]]
|
||||
then
|
||||
Title "DESTROY ${FAKE_SMTP_NAME}"
|
||||
Title "DESTROY ${FAKESMTP_SERVICE_NAME}"
|
||||
|
||||
stop ${FAKE_SMTP_NAME} 1
|
||||
docker-compose rm -s -v -f "${FAKE_SMTP_NAME}"
|
||||
stop ${FAKESMTP_SERVICE_NAME} 1
|
||||
docker-compose rm -s -v -f "${FAKESMTP_SERVICE_NAME}"
|
||||
echo ""
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue