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/*
|
||||||
!/services/50-nineboard/volume/data/public/logo/logo.png
|
!/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/*
|
||||||
!/services/50-ninegate/volume/data/private/.gitkeep
|
!/services/50-ninegate/volume/data/private/.gitkeep
|
||||||
|
|
|
@ -45,14 +45,14 @@ MTA_RELAY_USER="user"
|
||||||
|
|
||||||
# DEBUGING MTA
|
# DEBUGING MTA
|
||||||
# fake-smtp server
|
# fake-smtp server
|
||||||
FAKE_SMTP_NAME=fakesmtp
|
FAKESMTP_SERVICE_NAME=fakesmtp
|
||||||
FAKE_SMTP_LOCAL=1
|
FAKESMTP_LOCAL=1
|
||||||
FAKE_SMTP_ACTIVATE=1
|
FAKESMTP_ACTIVATE=1
|
||||||
# si actif, il faut sans doute l’utiliser
|
# si actif, il faut sans doute l’utiliser
|
||||||
# comme passerelle pour le service MTA
|
# comme passerelle pour le service MTA
|
||||||
if [ "$FAKE_SMTP_ACTIVATE" -eq 1 ]
|
if [ "$FAKESMTP_ACTIVATE" -eq 1 ]
|
||||||
then
|
then
|
||||||
MTA_RELAY_HOST="$FAKE_SMTP_NAME"
|
MTA_RELAY_HOST="$FAKESMTP_NAME"
|
||||||
MTA_RELAY_PORT=2525
|
MTA_RELAY_PORT=2525
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
services:
|
||||||
# ninefolio
|
# ninefolio
|
||||||
# Portail collaboratif
|
# Portail collaboratif
|
||||||
# Port interne 80
|
# Port interne 80
|
||||||
|
@ -12,3 +12,5 @@
|
||||||
volumes:
|
volumes:
|
||||||
- ./services/50-ninefolio/volume/data/private:/app/uploads
|
- ./services/50-ninefolio/volume/data/private:/app/uploads
|
||||||
- ./services/50-ninefolio/volume/data/public:/app/public/uploads
|
- ./services/50-ninefolio/volume/data/public:/app/public/uploads
|
||||||
|
- ./services/50-ninefolio/volume/data/build:/app/public/build
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
|
|
||||||
# == NINEFOLIO =============================================================================================================================
|
# == NINEFOLIO =============================================================================================================================
|
||||||
|
|
||||||
|
|
||||||
# BASIC
|
# BASIC
|
||||||
APP_ALIAS=ninefolio
|
APP_ALIAS=ninefolio
|
||||||
APP_NAME="NINEFOLIO"
|
APP_NAME="NINEFOLIO"
|
||||||
APP_CRON=1
|
APP_CRON=1
|
||||||
|
|
||||||
|
# Webpack
|
||||||
|
APP_PUBLIC_PATH=/${APP_ALIAS}/build
|
||||||
|
APP_MANIFEST_KEY_PREFIX=${APP_ALIAS}
|
||||||
|
|
||||||
# BDD
|
# BDD
|
||||||
DATABASE_NAME=${NINEFOLIO_SERVICE_NAME}
|
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 |
|
@ -8,4 +8,4 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- nine-network
|
- nine-network
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "6080:8080"
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
function upfakesmtp {
|
function upfakesmtp {
|
||||||
if [[ $FAKE_SMTP_ACTIVATE == 1 && $FAKE_SMTP_LOCAL == 1 ]]
|
if [[ $FAKESMTP_ACTIVATE == 1 && $FAKESMTP_LOCAL == 1 ]]
|
||||||
then
|
then
|
||||||
Title ${FAKE_SMTP_NAME^^}
|
Title ${FAKESMTP_SERVICE_NAME^^}
|
||||||
EchoVert "CONTAINER"
|
EchoVert "CONTAINER"
|
||||||
upservice ${FAKE_SMTP_NAME}
|
upservice ${FAKESMTP_SERVICE_NAME}
|
||||||
Echo
|
Echo
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function destroyfakesmtp {
|
function destroyfakesmtp {
|
||||||
if [[ $FAKE_SMTP_LOCAL == 1 ]]
|
if [[ $FAKESMTP_LOCAL == 1 ]]
|
||||||
then
|
then
|
||||||
Title "DESTROY ${FAKE_SMTP_NAME}"
|
Title "DESTROY ${FAKESMTP_SERVICE_NAME}"
|
||||||
|
|
||||||
stop ${FAKE_SMTP_NAME} 1
|
stop ${FAKESMTP_SERVICE_NAME} 1
|
||||||
docker-compose rm -s -v -f "${FAKE_SMTP_NAME}"
|
docker-compose rm -s -v -f "${FAKESMTP_SERVICE_NAME}"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue