175 lines
5.2 KiB
Plaintext
175 lines
5.2 KiB
Plaintext
|
# Symfony
|
||
|
APP_ENV=dev
|
||
|
APP_SECRET=changeme
|
||
|
APP_SESSIONTIME=1440
|
||
|
|
||
|
# Messenger
|
||
|
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
||
|
|
||
|
# Database
|
||
|
DATABASE_URL="postgresql://symfony:ChangeMe@127.0.0.1:5432/ninegate?serverVersion=13&charset=utf8"
|
||
|
|
||
|
# Redis Session
|
||
|
REDIS_HOST=127.0.0.1
|
||
|
REDIS_PORT=6379
|
||
|
|
||
|
# Mailer
|
||
|
MAILER_METHOD=smtp
|
||
|
MAILER_DSN=smtp://127.0.0.1:1025
|
||
|
MAILER_NOREPLY=noreply@noreply.fr
|
||
|
|
||
|
# Basic
|
||
|
APP_WEBURL=127.0.0.1:8000
|
||
|
APP_MASTERIDENTITY=SQL # SQL | SSO | LDAP
|
||
|
APP_AUTH=OPENID # SQL | CAS| LDAP | OPENID | à faire SAML
|
||
|
APP_ALIAS=/
|
||
|
APP_NAME=ninegate
|
||
|
APP_MODEREGISTRATION=BYADMIN # null | BYADMIN | BYUSER
|
||
|
APP_ADMINS='["admin"]'
|
||
|
|
||
|
# Structure Organisationnelle
|
||
|
APP_NIVEAUUPDATABLE=4
|
||
|
|
||
|
APP_NIVEAU01LABEL="Niveau 01"
|
||
|
APP_NIVEAU01LABELS="Niveaux 01"
|
||
|
|
||
|
APP_NIVEAU02USE=1
|
||
|
APP_NIVEAU02LABEL="Niveau 02"
|
||
|
APP_NIVEAU02LABELS="Niveaux 02"
|
||
|
APP_NIVEAU02MANDATORY='[""]'
|
||
|
|
||
|
APP_NIVEAU03USE=1
|
||
|
APP_NIVEAU03LABEL="Niveau 03"
|
||
|
APP_NIVEAU03LABELS="Niveaux 03"
|
||
|
APP_NIVEAU03MANDATORY='[""]'
|
||
|
|
||
|
APP_NIVEAU04USE=1
|
||
|
APP_NIVEAU04LABEL="Niveau 04"
|
||
|
APP_NIVEAU04LABELS="Niveaux 04"
|
||
|
APP_NIVEAU04MANDATORY='[""]'
|
||
|
|
||
|
|
||
|
APP_GROUPUSE=1
|
||
|
APP_GROUPSUBMITER='["ROLE_ADMIN"]'
|
||
|
|
||
|
APP_ANNUSCOPEADMIN=1
|
||
|
APP_ANNUSCOPEMODO=1
|
||
|
APP_ANNUSCOPEMASTER=2
|
||
|
APP_ANNUSCOPEMANAGER=3
|
||
|
APP_ANNUSCOPEUSER=3
|
||
|
|
||
|
APP_USERVIEWISVISIBLE=1
|
||
|
|
||
|
# Synchronisation
|
||
|
APP_SYNCHRO=NINE2LDAP # Synchronisation null | LDAP2NINE | NINE2LDAP | NINE2NINE
|
||
|
APP_SYNDCHROPURGENIVEAU01=1 # Purger les niveau01s obsolète en cas de synchronisation
|
||
|
APP_SYNDCHROPURGENIVEAU02=1 # Purger les niveau02s obsolète en cas de synchronisation
|
||
|
APP_SYNDCHROPURGEGROUP=1 # Purger les groups obsolète en cas de synchronisation
|
||
|
APP_SYNDCHROPURGEUSER=1 # Purger les users obsolète en cas de synchronisation
|
||
|
|
||
|
# LDAP
|
||
|
LDAP_HOST=127.0.0.1
|
||
|
LDAP_PORT=389
|
||
|
LDAP_USETLS=0
|
||
|
LDAP_USERWRITER=1
|
||
|
LDAP_USER="cn=admin,dc=nine,dc=fr"
|
||
|
LDAP_PASSWORD=changeme
|
||
|
LDAP_BASEDN="dc=nine,dc=fr"
|
||
|
LDAP_BASEORGANISATION="ou=ninegate,dc=nine,dc=fr"
|
||
|
LDAP_BASENIVEAU01="ou=niveau01,ou=ninegate,dc=nine,dc=fr"
|
||
|
LDAP_BASENIVEAU02="ou=niveau02,ou=ninegate,dc=nine,dc=fr"
|
||
|
LDAP_BASENIVEAU03="ou=niveau03,ou=ninegate,dc=nine,dc=fr"
|
||
|
LDAP_BASENIVEAU04="ou=niveau04,ou=ninegate,dc=nine,dc=fr"
|
||
|
LDAP_BASEGROUP="ou=groups,ou=ninegate,dc=nine,dc=fr"
|
||
|
LDAP_BASEUSER="ou=users,ou=ninegate,dc=nine,dc=fr"
|
||
|
LDAP_USERNAME=uid # Attribut id d'un user
|
||
|
LDAP_FIRSTNAME=givenname # Attribut firstname d'un user
|
||
|
LDAP_LASTNAME=sn # Attribut lastname d'un user
|
||
|
LDAP_EMAIL=mail # Attribut email d'un user
|
||
|
LDAP_AVATAR= # Attribut avatar d'un user
|
||
|
LDAP_MEMBEROF=memberof # Attribut memberof d'un user
|
||
|
LDAP_GROUPGID=gidnumber # Attribut gid d'un groupe
|
||
|
LDAP_GROUPNAME=cn # Attribut name d'un groupe
|
||
|
LDAP_GROUPMEMBER=memberuid # Attribut stockant les membres d'un groupe
|
||
|
LDAP_GROUPMEMBERISDN=0 # LDAP_GROUPMEMBER stocke un uid ou un dn ? 0/1
|
||
|
LDAP_FILTERGROUP=(cn=*) # requete ldap pour rechercher les groupes
|
||
|
LDAP_FILTERUSER=(uid=*) # requete ldap pour rechercher les users
|
||
|
LDAP_AUTOSUBMIT=1 # if APP_AUTH = LDAP autocréer les users non existant
|
||
|
LDAP_AUTOUPDATE=1 # if APP_AUTH = LDAP automodifier les users existant
|
||
|
|
||
|
# If APP_AUTH = CAS
|
||
|
CAS_HOST=
|
||
|
CAS_PORT=
|
||
|
CAS_PATH=
|
||
|
CAS_USERNAME=username
|
||
|
CAS_EMAIL=email
|
||
|
CAS_LASTNAME=lastname
|
||
|
CAS_FIRSTNAME=firstname
|
||
|
CAS_AVATAR=
|
||
|
CAS_NIVEAU01=
|
||
|
CAS_GROUP=
|
||
|
CAS_AUTOSUBMIT=1 # if APP_AUTH = CAS autocréer les users non existant
|
||
|
CAS_AUTOUPDATE=1 # if APP_AUTH = CAS automodifier les users existant
|
||
|
|
||
|
# If APP_AUTH = OPENID
|
||
|
OAUTH_CLIENTID=ninegate
|
||
|
OAUTH_CLIENTSECRET="changeme"
|
||
|
OAUTH_LOGINURL=http://127.0.0.1:7080/oauth2/auth
|
||
|
OAUTH_LOGOUTURL=http://127.0.0.1:7080/oauth2/sessions/logout
|
||
|
OAUTH_TOKENURL=http://127.0.0.1:7080/oauth2/token
|
||
|
OAUTH_USERINFO=http://127.0.0.1:7080/userinfo
|
||
|
OAUTH_USERNAME=username
|
||
|
OAUTH_EMAIL=email
|
||
|
OAUTH_LASTNAME=lastname
|
||
|
OAUTH_FIRSTNAME=firstname
|
||
|
OAUTH_AVATAR=
|
||
|
OAUTH_NIVEAU01=
|
||
|
OAUTH_GROUP=
|
||
|
OAUTH_AUTOSUBMIT=0 # if APP_AUTH = OPENID autocréer les users non existant
|
||
|
OAUTH_AUTOUPDATE=1 # if APP_AUTH = OPENID automodifier les users existant
|
||
|
|
||
|
# IF APP_SYNCHRO=NINE2NINE
|
||
|
NINE_URL=
|
||
|
NINE_SECRET=
|
||
|
|
||
|
# If APP_MODEREGISTRATION != NULL
|
||
|
APP_MODEREGISTRATIONTERM=6 # Temps en heure de la durée de validité de l'inscription
|
||
|
|
||
|
# Proxy
|
||
|
PROXY_USE=0
|
||
|
PROXY_HOST=
|
||
|
PROXY_PORT=
|
||
|
|
||
|
# Audit
|
||
|
AUDIT_USE=1
|
||
|
|
||
|
# Sonde statistic
|
||
|
SONDE_USE=0
|
||
|
SONDE_URL=
|
||
|
|
||
|
# Mercure
|
||
|
MERCURE_URL=https://127.0.0.1/.well-known/mercure
|
||
|
MERCURE_PUBLIC_URL=https://127.0.0.1/.well-known/mercure
|
||
|
MERCURE_JWT_SECRET="!changeme!changeme!changeme!changeme!changeme!changeme!"
|
||
|
|
||
|
# Minio
|
||
|
MINIO_URL=http://127.0.0.1:9000
|
||
|
MINIO_KEY=minio
|
||
|
MINIO_SECRET=changeme
|
||
|
MINIO_BUCKET=ninegate
|
||
|
MINIO_ROOT=
|
||
|
MINIO_PATH_STYLE=1
|
||
|
MINIO_SECURE=0
|
||
|
|
||
|
# Hydra apps
|
||
|
HYDRA_LOGINCHALLENGE="http://127.0.0.1:4445/oauth2/auth/requests/login?login_challenge="
|
||
|
HYDRA_LOGINCHALLENGEACCEPT="http://127.0.0.1:4445/oauth2/auth/requests/login/accept?login_challenge="
|
||
|
HYDRA_CONSENTCHALLENGE="http://127.0.0.1:4445/oauth2/auth/requests/consent?consent_challenge="
|
||
|
HYDRA_CONSENTCHALLENGEACCEPT="http://127.0.0.1:4445/oauth2/auth/requests/consent/accept?consent_challenge="
|
||
|
|
||
|
# Lock
|
||
|
LOCK_DSN="postgresql://symfony:ChangeMe@127.0.0.1:5432/ninegate?serverVersion=13&charset=utf8"
|
||
|
|
||
|
# Sentry
|
||
|
SENTRY_DSN=
|