server:
  listen: 0.0.0.0:8080

templates: 
  root: themes/default/
  # public_dir: themes/default/web/public/

identification:
  oidc:
    provider: 
    client_id: 
    client_secret: 
    redirect_url: 
    # endpoints:
    #   auth: http://localhost:8091/default/auth
    #   token: http://localhost:8091/default/token

services:
  grpc: 
    mobilityaccounts:
      dial: test-coopgo-mobility-accounts-svc:8080
    groupsmanagement:
      dial: test-coopgo-groups-management-svc:8080
    fleets:
      dial: test-coopgo-fleets-svc:8080
    agenda:
      dial: test-agenda-svc:8080
  navitia:
    api_key: 5451fcdd-5d0f-4e37-bad3-b514770ebc2a

storage:
  kv:
    type: etcd
    etcd:
      endpoints:
        - etcd:2379
        # - etcd-1.etcd:2380
        # - etcd-2.etcd:2380
      prefix: parcoursmob/cache/
  files:
    type: minio
    minio:
      endpoint:
      access_key: 
      secret_key:
      use_ssl: true
      bucket_name: 
      location: fr-par
    file_types:
      driving_licence: Permis de conduire
      work_contract: Contrat de travail ou de formation
      identity_proof: Pièce d'identité
      other: Autre

emailing:
  smtp:
    host: mail.gandi.net
    port: 587
    username: support@parcoursmob.fr
    password: Sc1tYc00p

modules:
  beneficiaries:
    enable: true
    documents_types:
      - identity_proof
      - driving_licence
      - work_contract
      - other
  fleets:
    enabled: true
    vehicle_types:
      - Voiture
      - Voiture sans permis
      - Scooter
      - Vélo électrique
      - Trottinette
    booking_documents:
      mandatory:
        - driving_licence
        - identity_proof
        - work_contract
  agenda:
    enabled: true
    events_types:
      - name: Permis accéléré
        subscription_tags:
          - Non présenté à l'information collective
          - Parcours validé
          - Abandon pendant le parcours
          - Succès à l'examen
          - Echec à l'examen
      - name: Auto-école sociale (classique)
      - name: Information collective
      - name: Autre
  groups:
    enabled: true
    group_types:
      - Entreprise
      - Evènement