237 lines
8.4 KiB
YAML
237 lines
8.4 KiB
YAML
parameters:
|
|
|
|
appEnv: '%env(resolve:APP_ENV)%'
|
|
appSecret: '%env(resolve:APP_SECRET)%'
|
|
|
|
appWeburl: '%env(resolve:APP_WEBURL)%'
|
|
appAuth: '%env(resolve:APP_AUTH)%'
|
|
appAlias: '%env(resolve:APP_ALIAS)%'
|
|
appName: '%env(resolve:APP_NAME)%'
|
|
appMasteridentity: '%env(resolve:APP_MASTERIDENTITY)%'
|
|
appMasterurl: '%env(resolve:APP_MASTERURL)%'
|
|
appMasterkey: '%env(resolve:APP_MASTERKEY)%'
|
|
appModeregistration: '%env(resolve:APP_MODEREGISTRATION)%'
|
|
appAdmins: '%env(json:APP_ADMINS)%'
|
|
appNiveau01label: '%env(resolve:APP_NIVEAU01LABEL)%'
|
|
appNiveau02label: '%env(resolve:APP_NIVEAU02LABEL)%'
|
|
|
|
appSynchro: '%env(resolve:APP_SYNCHRO)%'
|
|
appSynchroPurgeNiveau01: '%env(resolve:APP_SYNDCHROPURGENIVEAU01)%'
|
|
appSynchroPurgeNiveau02: '%env(resolve:APP_SYNDCHROPURGENIVEAU02)%'
|
|
appSynchroPurgeGroup: '%env(resolve:APP_SYNDCHROPURGEGROUP)%'
|
|
appSynchroPurgeUser: '%env(resolve:APP_SYNDCHROPURGEUSER)%'
|
|
|
|
databaseUrl: '%env(resolve:DATABASE_URL)%'
|
|
|
|
appMailmethod: '%env(resolve:MAILER_METHOD)%'
|
|
appMaildsn: '%env(resolve:MAILER_DSN)%'
|
|
appMailnoreply: '%env(resolve:MAILER_NOREPLY)%'
|
|
|
|
ldapHost: '%env(resolve:LDAP_HOST)%'
|
|
ldapPort: '%env(resolve:LDAP_PORT)%'
|
|
ldapUsetls: '%env(resolve:LDAP_USETLS)%'
|
|
ldapUserwriter: '%env(resolve:LDAP_USERWRITER)%'
|
|
ldapUser: '%env(resolve:LDAP_USER)%'
|
|
ldapPassword: '%env(resolve:LDAP_PASSWORD)%'
|
|
ldapBasedn: '%env(resolve:LDAP_BASEDN)%'
|
|
ldapBaseorganisation: '%env(resolve:LDAP_BASEORGANISATION)%'
|
|
ldapBaseniveau01: '%env(resolve:LDAP_BASENIVEAU01)%'
|
|
ldapBaseniveau02: '%env(resolve:LDAP_BASENIVEAU02)%'
|
|
ldapBasegroup: '%env(resolve:LDAP_BASEGROUP)%'
|
|
ldapBaseuser: '%env(resolve:LDAP_BASEUSER)%'
|
|
ldapUsername: '%env(resolve:LDAP_USERNAME)%'
|
|
ldapFirstname: '%env(resolve:LDAP_FIRSTNAME)%'
|
|
ldapLastname: '%env(resolve:LDAP_LASTNAME)%'
|
|
ldapEmail: '%env(resolve:LDAP_EMAIL)%'
|
|
ldapAvatar: '%env(resolve:LDAP_AVATAR)%'
|
|
ldapMemberof: '%env(resolve:LDAP_MEMBEROF)%'
|
|
ldapGroupgid: '%env(resolve:LDAP_GROUPGID)%'
|
|
ldapGroupname: '%env(resolve:LDAP_GROUPNAME)%'
|
|
ldapGroupmember: '%env(resolve:LDAP_GROUPMEMBER)%'
|
|
ldapGroupmemberisdn: '%env(resolve:LDAP_GROUPMEMBERISDN)%'
|
|
ldapFiltergroup: '%env(resolve:LDAP_FILTERGROUP)%'
|
|
ldapFilteruser: '%env(resolve:LDAP_FILTERUSER)%'
|
|
ldapAutosubmit: '%env(resolve:LDAP_AUTOSUBMIT)%'
|
|
ldapAutoupdate: '%env(resolve:LDAP_AUTOUPDATE)%'
|
|
|
|
casHost: '%env(resolve:CAS_HOST)%'
|
|
casPort: '%env(resolve:CAS_PORT)%'
|
|
casPath: '%env(resolve:CAS_PATH)%'
|
|
casUsername: '%env(resolve:CAS_USERNAME)%'
|
|
casEmail: '%env(resolve:CAS_EMAIL)%'
|
|
casLastname: '%env(resolve:CAS_LASTNAME)%'
|
|
casFirstname: '%env(resolve:CAS_FIRSTNAME)%'
|
|
casAvatar: '%env(resolve:CAS_AVATAR)%'
|
|
casNiveau01: '%env(resolve:CAS_NIVEAU01)%'
|
|
casGroup: '%env(resolve:CAS_GROUP)%'
|
|
casAutosubmit: '%env(resolve:CAS_AUTOSUBMIT)%'
|
|
casAutoupdate: '%env(resolve:CAS_AUTOUPDATE)%'
|
|
|
|
oauthClientid: '%env(resolve:OAUTH_CLIENTID)%'
|
|
oauthClientsecret: '%env(resolve:OAUTH_CLIENTSECRET)%'
|
|
oauthLoginurl: '%env(resolve:OAUTH_LOGINURL)%'
|
|
oauthLogouturl: '%env(resolve:OAUTH_LOGOUTURL)%'
|
|
oauthTokenurl: '%env(resolve:OAUTH_TOKENURL)%'
|
|
oauthUserinfo: '%env(resolve:OAUTH_USERINFO)%'
|
|
oauthUsername: '%env(resolve:OAUTH_USERNAME)%'
|
|
oauthEmail: '%env(resolve:OAUTH_EMAIL)%'
|
|
oauthLastname: '%env(resolve:OAUTH_LASTNAME)%'
|
|
oauthFirstname: '%env(resolve:OAUTH_FIRSTNAME)%'
|
|
oauthAvatar: '%env(resolve:OAUTH_AVATAR)%'
|
|
oauthNiveau01: '%env(resolve:OAUTH_NIVEAU01)%'
|
|
oauthGroup: '%env(resolve:OAUTH_GROUP)%'
|
|
oauthAutosubmit: '%env(resolve:OAUTH_AUTOSUBMIT)%'
|
|
oauthAutoupdate: '%env(resolve:OAUTH_AUTOUPDATE)%'
|
|
|
|
nineUrl: '%env(resolve:NINE_URL)%'
|
|
nineSecret: '%env(resolve:NINE_SECRET)%'
|
|
|
|
appModeregistrationterme: '%env(resolve:APP_MODEREGISTRATIONTERM)%'
|
|
|
|
proxyUse: '%env(resolve:PROXY_USE)%'
|
|
proxyHost: '%env(resolve:PROXY_HOST)%'
|
|
proxyPort: '%env(resolve:PROXY_PORT)%'
|
|
|
|
minioUrl: '%env(resolve:MINIO_URL)%'
|
|
minioKey: '%env(resolve:MINIO_KEY)%'
|
|
minioSecret: '%env(resolve:MINIO_SECRET)%'
|
|
minioBucket: '%env(resolve:MINIO_BUCKET)%'
|
|
minioRoot: '%env(resolve:MINIO_ROOT)%'
|
|
minioPathstyle: '%env(resolve:MINIO_PATH_STYLE)%'
|
|
minioSecure: '%env(resolve:MINIO_SECURE)%'
|
|
|
|
hydraLoginchallenge: '%env(resolve:HYDRA_LOGINCHALLENGE)%'
|
|
hydraLoginchallengeaccept: '%env(resolve:HYDRA_LOGINCHALLENGEACCEPT)%'
|
|
hydraConsentchallenge: '%env(resolve:HYDRA_CONSENTCHALLENGE)%'
|
|
hydraConsentchallengeaccept: '%env(resolve:HYDRA_CONSENTCHALLENGEACCEPT)%'
|
|
|
|
sondeUse: '%env(resolve:SONDE_USE)%'
|
|
sondeUrl: '%env(resolve:SONDE_URL)%'
|
|
|
|
auditUse: '%env(resolve:AUDIT_USE)%'
|
|
|
|
services:
|
|
_defaults:
|
|
autowire: true # Automatically injects dependencies in your services.
|
|
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
|
|
|
|
App\:
|
|
resource: '../src/'
|
|
exclude:
|
|
- '../src/DependencyInjection/'
|
|
- '../src/Entity/'
|
|
- '../src/Kernel.php'
|
|
|
|
App\Controller\:
|
|
resource: '../src/Controller'
|
|
tags: ['controller.service_arguments']
|
|
|
|
Redis:
|
|
class: Redis
|
|
calls:
|
|
- connect:
|
|
- '%env(REDIS_HOST)%'
|
|
- '%env(int:REDIS_PORT)%'
|
|
|
|
Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler:
|
|
arguments:
|
|
- '@Redis'
|
|
|
|
App\EventListener\AllSubscriber:
|
|
public: true
|
|
tags:
|
|
- name: 'doctrine.event_subscriber'
|
|
|
|
App\EventListener\Niveau01Subscriber:
|
|
public: true
|
|
arguments: ['@doctrine.orm.entity_manager','@App\Service\LdapService']
|
|
tags:
|
|
- name: 'doctrine.event_subscriber'
|
|
|
|
App\EventListener\Niveau02Subscriber:
|
|
public: true
|
|
arguments: ['@doctrine.orm.entity_manager','@App\Service\LdapService']
|
|
tags:
|
|
- name: 'doctrine.event_subscriber'
|
|
|
|
App\EventListener\GroupSubscriber:
|
|
public: true
|
|
arguments: ['@doctrine.orm.entity_manager','@App\Service\LdapService']
|
|
tags:
|
|
- name: 'doctrine.event_subscriber'
|
|
|
|
App\EventListener\UserSubscriber:
|
|
public: true
|
|
arguments: ['@doctrine.orm.entity_manager','@App\Service\LdapService']
|
|
tags:
|
|
- name: 'doctrine.event_subscriber'
|
|
|
|
App\EventListener\UserGroupSubscriber:
|
|
public: true
|
|
arguments: ['@doctrine.orm.entity_manager','@App\Service\LdapService']
|
|
tags:
|
|
- name: 'doctrine.event_subscriber'
|
|
|
|
App\Entity\User:
|
|
public: true
|
|
arguments: ['@security.password_hasher']
|
|
|
|
App\Command\InitCommand:
|
|
public: true
|
|
arguments: ['@service_container','@doctrine.orm.entity_manager']
|
|
|
|
App\Command\SetPasswordCommand:
|
|
public: true
|
|
arguments: ['@service_container','@doctrine.orm.entity_manager']
|
|
|
|
App\Command\CronCommand:
|
|
public: true
|
|
arguments: ['@service_container','@doctrine.orm.entity_manager']
|
|
|
|
App\Command\CleanCommand:
|
|
public: true
|
|
arguments: ['@service_container','@doctrine.orm.entity_manager']
|
|
|
|
App\Command\CleanRegistrationCommand:
|
|
public: true
|
|
arguments: ['@service_container','@doctrine.orm.entity_manager']
|
|
|
|
App\Command\SynchroCommand:
|
|
public: true
|
|
arguments: ['@service_container','@doctrine.orm.entity_manager','@App\Service\LdapService']
|
|
|
|
App\Twig\AppExtension:
|
|
calls:
|
|
- [setContainer, ["@service_container"]]
|
|
tags:
|
|
- { name: twig.extension }
|
|
|
|
App\Service\AppSession:
|
|
public: true
|
|
arguments: ["@service_container","@doctrine.orm.entity_manager","@request_stack","@security.token_storage"]
|
|
tags:
|
|
- { name: kernel.event_listener, event: kernel.request, method: onDomainParse }
|
|
|
|
App\Service\UploadListener:
|
|
public: true
|
|
arguments: ["@doctrine.orm.entity_manager"]
|
|
tags:
|
|
- { name: kernel.event_listener, event: oneup_uploader.post_persist, method: onUpload }
|
|
|
|
App\Service\LdapService:
|
|
public: true
|
|
arguments: ["@service_container"]
|
|
|
|
App\Service\MailService:
|
|
public: true
|
|
arguments: ["@mailer", "@twig"]
|
|
|
|
App\Service\ApiService:
|
|
public: true
|
|
|
|
App\Service\MinioService:
|
|
public: true
|
|
arguments: ["%kernel.project_dir%","%minioUrl%","%minioKey%","%minioSecret%","%minioBucket%","%minioRoot%","%minioPathstyle%","%minioSecure%","%kernel.environment%"]
|
|
|
|
App\Controller\RestController:
|
|
public: true |