2022-07-21 16:15:47 +02:00
|
|
|
# Symfony
|
|
|
|
APP_ENV=prod
|
|
|
|
APP_SECRET=changeme
|
|
|
|
|
|
|
|
# Messenger
|
|
|
|
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
|
|
|
|
|
|
|
# Database
|
|
|
|
DATABASE_URL="postgresql://symfony:ChangeMe@127.0.0.1:5432/app?serverVersion=13&charset=utf8"
|
|
|
|
|
|
|
|
# Mailer
|
|
|
|
MAILER_METHOD=smtp
|
|
|
|
MAILER_DSN=smtp://127.0.0.1:1025
|
|
|
|
MAILER_NOREPLY=noreply@noreply.fr
|
|
|
|
|
|
|
|
# Basic
|
2022-07-22 15:35:04 +02:00
|
|
|
APP_WEBURL=127.0.0.1:8000
|
2022-07-25 09:34:16 +02:00
|
|
|
APP_MASTERIDENTITY=SQL # SQL | SSO | LDAP
|
|
|
|
APP_AUTH=SQL # SQL | CAS| LDAP | OPENID | à faire SAML
|
2022-07-21 16:15:47 +02:00
|
|
|
APP_ALIAS=/
|
|
|
|
APP_NAME=Nineskeletor
|
|
|
|
APP_MASTERURL=
|
|
|
|
APP_MASTERKEY=
|
|
|
|
APP_MODEREGISTRATION= # null | BYADMIN | BYUSER
|
|
|
|
APP_ADMINS='["admin"]'
|
|
|
|
APP_NIVEAU01LABEL="Niveau 01"
|
|
|
|
APP_NIVEAU02LABEL="Niveau 02"
|
|
|
|
|
|
|
|
# Synchronisation
|
|
|
|
APP_SYNCHRO= # 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
|
2022-07-25 09:34:16 +02:00
|
|
|
APP_SYNDCHROPURGEUSER=1 # Purger les users obsolète en cas de synchronisation
|
2022-07-21 16:15:47 +02:00
|
|
|
|
|
|
|
# LDAP
|
|
|
|
LDAP_HOST= # host du serveur ldap
|
|
|
|
LDAP_PORT= # port du serveur ldap
|
|
|
|
LDAP_USETLS=0 # connection TLS 0/1
|
|
|
|
LDAP_USERWRITER=0 # LDAP_USER compte writer ? 0/1
|
|
|
|
LDAP_USER= # DN compte access ldap
|
|
|
|
LDAP_PASSWORD= # Password comte access ldap
|
|
|
|
LDAP_BASEDN= # Base DN ex:o=gouv,c=fr
|
|
|
|
LDAP_BASEORGANISATION= # Base Organisation ex:ou=nine,o=gouv,c=fr
|
|
|
|
LDAP_BASENIVEAU01= # Base Niveau01 ex:ou=niveau01,ou=nine,o=gouv,c=fr
|
|
|
|
LDAP_BASENIVEAU02= # Base Niveau02 ex:ou=niveau02,ou=nine,o=gouv,c=fr
|
|
|
|
LDAP_BASEGROUP= # Base Group ex:ou=groups,ou=nine,o=gouv,c=fr
|
|
|
|
LDAP_BASEUSER= # Base User ex:ou=users,ou=nine,o=gouv,c=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
|
2022-07-25 17:16:08 +02:00
|
|
|
LDAP_AUTOSUBMIT=1 # if APP_AUTH = LDAP autocréer les users non existant
|
|
|
|
LDAP_AUTOUPDATE=1 # if APP_AUTH = LDAP automodifier les users existant
|
2022-07-21 16:15:47 +02:00
|
|
|
|
|
|
|
# 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=
|
2022-07-25 17:16:08 +02:00
|
|
|
CAS_AUTOSUBMIT=1 # if APP_AUTH = CAS autocréer les users non existant
|
|
|
|
CAS_AUTOUPDATE=1 # if APP_AUTH = CAS automodifier les users existant
|
2022-07-21 16:15:47 +02:00
|
|
|
|
|
|
|
# If APP_AUTH = OPENID
|
|
|
|
OAUTH_CLIENTID=
|
|
|
|
OAUTH_CLIENTSECRET=
|
|
|
|
OAUTH_LOGINURL=
|
|
|
|
OAUTH_LOGOUTURL=
|
|
|
|
OAUTH_TOKENURL=
|
|
|
|
OAUTH_USERINFO=
|
|
|
|
OAUTH_USERNAME=username
|
|
|
|
OAUTH_EMAIL=email
|
|
|
|
OAUTH_LASTNAME=lastname
|
|
|
|
OAUTH_FIRSTNAME=firstname
|
|
|
|
OAUTH_AVATAR=
|
|
|
|
OAUTH_NIVEAU01=
|
|
|
|
OAUTH_GROUP=
|
2022-07-25 17:16:08 +02:00
|
|
|
OAUTH_AUTOSUBMIT=1 # if APP_AUTH = OPENID autocréer les users non existant
|
|
|
|
OAUTH_AUTOUPDATE=1 # if APP_AUTH = OPENID automodifier les users existant
|
2022-07-21 16:15:47 +02:00
|
|
|
|
|
|
|
# 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=
|
|
|
|
|
2022-07-26 16:03:53 +02:00
|
|
|
# Audit
|
|
|
|
AUDIT_USE=0
|
|
|
|
|
2022-07-21 16:15:47 +02:00
|
|
|
# Sonde statistic
|
|
|
|
SONDE_USE=0
|
|
|
|
SONDE_URL=
|
|
|
|
|
|
|
|
# Mercure
|
2022-07-22 15:35:04 +02:00
|
|
|
MERCURE_URL=https://127.0.0.1/.well-known/mercure
|
|
|
|
MERCURE_PUBLIC_URL=https://127.0.0.1/.well-known/mercure
|
2022-07-21 16:15:47 +02:00
|
|
|
MERCURE_JWT_SECRET="!ChangeMe!"
|
|
|
|
|
|
|
|
# Messenger
|
|
|
|
# MESSENGER_TRANSPORT_DSN=doctrine://default
|
|
|
|
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
|
|
|
|
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
|
|
|
|
|
|
|
|
# Lock
|
|
|
|
LOCK_DSN="postgresql://symfony:ChangeMe@127.0.0.1:5432/app?serverVersion=13&charset=utf8"
|
|
|
|
|
|
|
|
# Sentry
|
|
|
|
SENTRY_DSN=
|