envole/docker/env/.env

129 lines
3.4 KiB
Bash
Raw Normal View History

2023-11-02 14:22:16 +01:00
# == GLOBAL ===============================================================================================================================
2024-03-01 15:49:55 +01:00
# ATTENTION
# si vous souhaiter faire tourner envole sur localhost vous devez ajouter dans votre host = 127.0.0.0 envole.local
2024-03-01 16:14:12 +01:00
# votre localhost devra aussi disposer d'un certificat
2024-03-01 15:49:55 +01:00
# si vous changer le web_url penser à modifier envole.local par votre web_url dans volume/keycloak/envole/realm-export.json
# sinon il vous faudra vous connecter à keycloak pour changer l'url du client envole
2023-11-06 16:18:09 +01:00
# RELEASE SYSTEM = linux ou eole si eole le réseau du compose sera supprimé et regénéré à chaque UP
RELEASE_SYSTEM=linux
# GLOBAL
APP_ENV=PROD
2024-03-01 15:49:55 +01:00
WEB_URL=envole.local
2024-03-01 16:14:12 +01:00
PROTOCOLE=https
2023-11-06 16:18:09 +01:00
2023-11-02 14:22:16 +01:00
# ADMIN USER
ADMIN_USER=admin
ADMIN_PASSWORD=changeme
# MASTERIDENTITY
2023-11-06 16:18:09 +01:00
# SQL or SSO or (to do LDAP)
MASTERIDENTITY=SQL
2023-11-02 14:22:16 +01:00
# AUTHENTIFICATION
2023-11-06 16:18:09 +01:00
# SQL or CAS (todo LDAP or OPENID)
2024-02-29 17:48:20 +01:00
MODE_AUTH=CAS
2023-11-02 14:22:16 +01:00
# MARIADB
MARIADB_SERVICE_NAME=mariadb
2023-11-06 16:18:09 +01:00
MARIADB_ACTIVATE=1
MARIADB_LOCAL=1
2023-11-02 14:22:16 +01:00
MARIADB_ROOT_PASSWORD=${ADMIN_PASSWORD}
MARIADB_USER=user
2023-11-09 13:46:26 +01:00
MARIADB_PASSWORD=${ADMIN_PASSWORD}
2023-11-02 14:22:16 +01:00
# LDAP
2023-11-06 16:18:09 +01:00
# LDAP_SYNC Si MASTERIDENTITY = SQL permet la synchronisation des utilisateurs SQL vers LDAP
2024-02-29 17:48:20 +01:00
OPENLDAP_SERVICE_NAME=openldap
2023-11-02 14:22:16 +01:00
LDAP_ACTIVATE=1
LDAP_LOCAL=1
2023-11-06 16:18:09 +01:00
LDAP_TYPE=LDAP
2024-02-29 17:48:20 +01:00
LDAP_HOST=${OPENLDAP_SERVICE_NAME}
2023-11-02 14:22:16 +01:00
LDAP_PORT=1389
LDAP_TLS=0
2023-11-06 16:18:09 +01:00
LDAP_BASEDN=dc=envole,dc=org
2023-11-02 14:22:16 +01:00
LDAP_ADMIN_USERNAME=${ADMIN_USER}
2023-11-06 16:18:09 +01:00
LDAP_USER=cn=${LDAP_ADMIN_USERNAME},${LDAP_BASEDN}
2023-11-02 14:22:16 +01:00
LDAP_PASSWORD=${ADMIN_PASSWORD}
2023-11-06 16:18:09 +01:00
LDAP_BASEUSER=ou=users,ou=ninegate,${LDAP_BASEDN}
LDAP_BASENIVEAU01=ou=niveau01,ou=ninegate,${LDAP_BASEDN}
LDAP_BASENIVEAU02=ou=niveau02,ou=ninegate,${LDAP_BASEDN}
LDAP_BASEGROUP=ou=groups,ou=ninegate,${LDAP_BASEDN}
LDAP_SYNC=1
2023-11-09 13:46:26 +01:00
LDAP_TEMPLATE=
LDAP_USERNAME=uid
LDAP_FIRSTNAME=givenname
LDAP_LASTNAME=sn
2023-11-13 16:40:30 +01:00
LDAP_DISPLAYNAME=displayName
2023-11-09 13:46:26 +01:00
LDAP_EMAIL=mail
LDAP_MEMBER=memberUid
2023-11-13 16:40:30 +01:00
LDAP_USER_FILTER="(&(${LDAP_USERNAME}=*)(objectClass=person)(!(description=Computer)))"
LDAP_LOGIN_FILTER="(&(${LDAP_USERNAME}=%uid)(objectClass=person)(!(description=Computer)))"
LDAP_GROUP_FILTER="(&(objectClass=posixGroup))"
2023-11-09 13:46:26 +01:00
SCRIBE_GROUP=1
SCRIBE_MASTER=1
OPENLDAPREQNIVEAU01=
OPENLDAPSYNCHROGROUP=0
OPENLDAPREQGROUP=
2023-11-02 14:22:16 +01:00
2023-11-06 16:18:09 +01:00
# CAS
2024-02-29 17:48:20 +01:00
KEYCLOAK_SERVICE_NAME=keycloak
2023-11-06 16:18:09 +01:00
CAS_ACTIVATE=1
CAS_LOCAL=1
CAS_USER=${ADMIN_USER}-keycloak
CAS_PASSWORD=${ADMIN_PASSWORD}-keycloak
2024-03-01 16:14:12 +01:00
CAS_HOST=${WEB_URL}
CAS_PORT=443
2023-11-06 16:18:09 +01:00
CAS_PATH=/auth/realms/envole/protocol/cas
2023-11-15 11:48:03 +01:00
CAS_URL=${PROTOCOLE}://${CAS_HOST}:${CAS_PORT}
2023-11-02 14:22:16 +01:00
# NINEGATE
NINEGATE_SERVICE_NAME=ninegate
NINEGATE_ACTIVATE=1
NINEGATE_LOCAL=1
2023-11-15 11:48:03 +01:00
NINEGATE_URL=${PROTOCOLE}://${WEB_URL}:9000
2023-11-02 14:22:16 +01:00
# NINEGATE
NEXTCLOUD_SERVICE_NAME=nextcloud
NEXTCLOUD_ACTIVATE=0
NEXTCLOUD_LOCAL=1
2023-11-15 11:48:03 +01:00
NEXTCLOUD_URL=${PROTOCOLE}://${WEB_URL}:9001
2023-11-13 16:40:30 +01:00
NEXTCLOUD_SAMBA=0
2023-11-02 14:22:16 +01:00
2023-11-17 16:40:41 +01:00
# NINEBOARD
NINEBOARD_SERVICE_NAME=nineboard
NINEBOARD_ACTIVATE=1
NINEBOARD_LOCAL=1
NINEBOARD_URL=${PROTOCOLE}://${WEB_URL}:9002
2024-02-29 16:46:23 +01:00
# WORDPRESS
2024-02-29 17:48:20 +01:00
WORDPRESS_SERVICE_NAME=wordpress
2024-02-29 16:46:23 +01:00
WORDPRESS_ACTIVATE=1
WORDPRESS_LOCAL=1
WORDPRESS_URL=${PROTOCOLE}://${WEB_URL}:9003
2023-11-02 14:22:16 +01:00
# ADMINER
ADMINER_SERVICE_NAME=adminer
ADMINER_ACTIVATE=0
ADMINER_LOCAL=1
2023-11-15 11:48:03 +01:00
ADMINER_URL=${PROTOCOLE}://${WEB_URL}:9100/?server=${MARIADB_SERVICE_NAME}&username=${MARIADB_USER}
2023-11-02 14:22:16 +01:00
# PHPLDAPADMIN
PHPLDAPADMIN_SERVICE_NAME=phpldapadmin
PHPLDAPADMIN_ACTIVATE=0
PHPLDAPADMIN_LOCAL=1
2023-11-15 11:48:03 +01:00
PHPLDAPADMIN_URL=${PROTOCOLE}://${WEB_URL}:9101
2023-11-02 14:22:16 +01:00
2023-11-13 16:40:30 +01:00
# GENCONFIG
GENCONFIG_ACTIVATE=0
2023-11-15 11:48:03 +01:00
GENCONFIG_URL=${PROTOCOLE}://${WEB_URL}:9102
2023-11-13 16:40:30 +01:00
2023-11-03 14:11:23 +01:00
# NINEAPACHE
NINEAPACHE_SERVICE_NAME=nineapache
NINEAPACHE_ACTIVATE=0
NINEAPACHE_LOCAL=1
2023-11-15 11:48:03 +01:00
NINEAPACHE_URL=${PROTOCOLE}://${WEB_URL}:9102
2023-11-02 14:22:16 +01:00