svg
This commit is contained in:
parent
021dcbd10c
commit
a6f4949e1e
|
@ -72,40 +72,40 @@ CAS_PASSWORD=${ADMIN_PASSWORD}-keycloak
|
||||||
CAS_HOST=keycloak
|
CAS_HOST=keycloak
|
||||||
CAS_PORT=8443
|
CAS_PORT=8443
|
||||||
CAS_PATH=/auth/realms/envole/protocol/cas
|
CAS_PATH=/auth/realms/envole/protocol/cas
|
||||||
CAS_URL=${WEB_PROTOCOL}://${CAS_HOST}:${CAS_PORT}
|
CAS_URL=${PROTOCOLE}://${CAS_HOST}:${CAS_PORT}
|
||||||
|
|
||||||
# NINEGATE
|
# NINEGATE
|
||||||
NINEGATE_SERVICE_NAME=ninegate
|
NINEGATE_SERVICE_NAME=ninegate
|
||||||
NINEGATE_ACTIVATE=1
|
NINEGATE_ACTIVATE=1
|
||||||
NINEGATE_LOCAL=1
|
NINEGATE_LOCAL=1
|
||||||
NINEGATE_URL=${WEB_PROTOCOL}://${WEB_URL}:9000
|
NINEGATE_URL=${PROTOCOLE}://${WEB_URL}:9000
|
||||||
|
|
||||||
# NINEGATE
|
# NINEGATE
|
||||||
NEXTCLOUD_SERVICE_NAME=nextcloud
|
NEXTCLOUD_SERVICE_NAME=nextcloud
|
||||||
NEXTCLOUD_ACTIVATE=0
|
NEXTCLOUD_ACTIVATE=0
|
||||||
NEXTCLOUD_LOCAL=1
|
NEXTCLOUD_LOCAL=1
|
||||||
NEXTCLOUD_URL=${WEB_PROTOCOL}://${WEB_URL}:9001
|
NEXTCLOUD_URL=${PROTOCOLE}://${WEB_URL}:9001
|
||||||
NEXTCLOUD_SAMBA=0
|
NEXTCLOUD_SAMBA=0
|
||||||
|
|
||||||
# ADMINER
|
# ADMINER
|
||||||
ADMINER_SERVICE_NAME=adminer
|
ADMINER_SERVICE_NAME=adminer
|
||||||
ADMINER_ACTIVATE=0
|
ADMINER_ACTIVATE=0
|
||||||
ADMINER_LOCAL=1
|
ADMINER_LOCAL=1
|
||||||
ADMINER_URL=${WEB_PROTOCOL}://${WEB_URL}:9100/?server=${MARIADB_SERVICE_NAME}&username=${MARIADB_USER}
|
ADMINER_URL=${PROTOCOLE}://${WEB_URL}:9100/?server=${MARIADB_SERVICE_NAME}&username=${MARIADB_USER}
|
||||||
|
|
||||||
# PHPLDAPADMIN
|
# PHPLDAPADMIN
|
||||||
PHPLDAPADMIN_SERVICE_NAME=phpldapadmin
|
PHPLDAPADMIN_SERVICE_NAME=phpldapadmin
|
||||||
PHPLDAPADMIN_ACTIVATE=0
|
PHPLDAPADMIN_ACTIVATE=0
|
||||||
PHPLDAPADMIN_LOCAL=1
|
PHPLDAPADMIN_LOCAL=1
|
||||||
PHPLDAPADMIN_URL=${WEB_PROTOCOL}://${WEB_URL}:9101
|
PHPLDAPADMIN_URL=${PROTOCOLE}://${WEB_URL}:9101
|
||||||
|
|
||||||
# GENCONFIG
|
# GENCONFIG
|
||||||
GENCONFIG_ACTIVATE=0
|
GENCONFIG_ACTIVATE=0
|
||||||
GENCONFIG_URL=${WEB_PROTOCOL}://${WEB_URL}:9102
|
GENCONFIG_URL=${PROTOCOLE}://${WEB_URL}:9102
|
||||||
|
|
||||||
# NINEAPACHE
|
# NINEAPACHE
|
||||||
NINEAPACHE_SERVICE_NAME=nineapache
|
NINEAPACHE_SERVICE_NAME=nineapache
|
||||||
NINEAPACHE_ACTIVATE=0
|
NINEAPACHE_ACTIVATE=0
|
||||||
NINEAPACHE_LOCAL=1
|
NINEAPACHE_LOCAL=1
|
||||||
NINEAPACHE_URL=${WEB_PROTOCOL}://${WEB_URL}:9102
|
NINEAPACHE_URL=${PROTOCOLE}://${WEB_URL}:9102
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
# Activation Widget
|
# Activation Widget
|
||||||
ACTIVATE_WIDADMINER=${ADMINER_ACTIVATE}
|
ACTIVATE_WIDADMINER=${ADMINER_ACTIVATE}
|
||||||
WIDADMINER_URL=${ADMINER_URL}
|
WIDADMINER_URL="${ADMINER_URL}"
|
||||||
|
|
||||||
ACTIVATE_WIDPHPLDAPADMIN=${PHPLDAPADMIN_ACTIVATE}
|
ACTIVATE_WIDPHPLDAPADMIN=${PHPLDAPADMIN_ACTIVATE}
|
||||||
WIDPHPLDAPADMIN_URL=${PHPLDAPADMIN_URL}
|
WIDPHPLDAPADMIN_URL=${PHPLDAPADMIN_URL}
|
||||||
|
|
|
@ -15,6 +15,8 @@ cat ./env/.env* >> ./.env.local
|
||||||
BigTitle "ENVOLE"
|
BigTitle "ENVOLE"
|
||||||
|
|
||||||
# on remplace les valeur reprise dans les autres .env car podman interprète mal
|
# on remplace les valeur reprise dans les autres .env car podman interprète mal
|
||||||
|
if [[ "$PODCOMPOSEBIN" == "podman-compose" ]]
|
||||||
|
then
|
||||||
sed -i 's#${WEB_URL}#'${WEB_URL}'#g' ./.env.local
|
sed -i 's#${WEB_URL}#'${WEB_URL}'#g' ./.env.local
|
||||||
sed -i 's#${WEB_PROTOCOL}#'${WEB_PROTOCOL}'#g' ./.env.local
|
sed -i 's#${WEB_PROTOCOL}#'${WEB_PROTOCOL}'#g' ./.env.local
|
||||||
. ./.env.local
|
. ./.env.local
|
||||||
|
@ -46,6 +48,7 @@ sed -i 's#${PHPLDAPADMIN_URL}#'${PHPLDAPADMIN_URL}'#g' ./.env.local
|
||||||
|
|
||||||
sed -i 's#${NEXTCLOUD_ACTIVATE}#'${NEXTCLOUD_ACTIVATE}'#g' ./.env.local
|
sed -i 's#${NEXTCLOUD_ACTIVATE}#'${NEXTCLOUD_ACTIVATE}'#g' ./.env.local
|
||||||
sed -i 's#${NEXTCLOUD_URL}#'${NEXTCLOUD_URL}'#g' ./.env.local
|
sed -i 's#${NEXTCLOUD_URL}#'${NEXTCLOUD_URL}'#g' ./.env.local
|
||||||
|
fi
|
||||||
|
|
||||||
# Include
|
# Include
|
||||||
. ./.env.local
|
. ./.env.local
|
||||||
|
@ -165,6 +168,7 @@ up(){
|
||||||
|
|
||||||
upservice $LDAP_SERVICE_NAME
|
upservice $LDAP_SERVICE_NAME
|
||||||
$PODCOMPOSEBIN exec $LDAP_SERVICE_NAME /envole/init.sh
|
$PODCOMPOSEBIN exec $LDAP_SERVICE_NAME /envole/init.sh
|
||||||
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# CAS
|
# CAS
|
||||||
|
@ -172,6 +176,7 @@ up(){
|
||||||
then
|
then
|
||||||
Title ${CAS_SERVICE_NAME^^}
|
Title ${CAS_SERVICE_NAME^^}
|
||||||
upservice $CAS_SERVICE_NAME
|
upservice $CAS_SERVICE_NAME
|
||||||
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# NINEGATE
|
# NINEGATE
|
||||||
|
@ -179,6 +184,7 @@ up(){
|
||||||
then
|
then
|
||||||
Title ${NINEGATE_SERVICE_NAME^^}
|
Title ${NINEGATE_SERVICE_NAME^^}
|
||||||
upservice ${NINEGATE_SERVICE_NAME}
|
upservice ${NINEGATE_SERVICE_NAME}
|
||||||
|
chmod -R a+wr ./volume/ninegate/data
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -4,3 +4,4 @@
|
||||||
ALIAS=ninegate/
|
ALIAS=ninegate/
|
||||||
FORCE_THEME=%%getBool(%%getVar("ninegate_forcetheme", "non"))
|
FORCE_THEME=%%getBool(%%getVar("ninegate_forcetheme", "non"))
|
||||||
FORCE_THEMENAME=%%getVar("ninegate_forcethemename", "")
|
FORCE_THEMENAME=%%getVar("ninegate_forcethemename", "")
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ NEXTCLOUD_URL=%%getVar("nextcloud_url", "/nextcloud")
|
||||||
# ADMINER
|
# ADMINER
|
||||||
ADMINER_ACTIVATE=%%getBool(%%getVar("activer_adminer", "non"))
|
ADMINER_ACTIVATE=%%getBool(%%getVar("activer_adminer", "non"))
|
||||||
ADMINER_LOCAL=1
|
ADMINER_LOCAL=1
|
||||||
ADMINER_URL=/adminer/?server=${MARIADB_SERVICE_NAME}&username=${MARIADB_USER}
|
ADMINER_URL="${PROTOCOLE}://${WEB_URL}/adminer/?server=${MARIADB_SERVICE_NAME}&username=${MARIADB_USER}"
|
||||||
|
|
||||||
# PHPLDAPADMIN
|
# PHPLDAPADMIN
|
||||||
PHPLDAPADMIN_ACTIVATE=%%getBool(%%getVar("activer_phpldapadmin", "non"))
|
PHPLDAPADMIN_ACTIVATE=%%getBool(%%getVar("activer_phpldapadmin", "non"))
|
||||||
|
|
Loading…
Reference in New Issue