419 lines
11 KiB
YAML
419 lines
11 KiB
YAML
dev_env: true
|
||
|
||
base_url: http://parcoursmob.tilt-dev.svc.cluster.local
|
||
service_name: Mobicoop Solidaire
|
||
|
||
server:
|
||
web:
|
||
listen: 0.0.0.0:80
|
||
mcp:
|
||
enabled: true
|
||
listen: 0.0.0.0:8081
|
||
|
||
templates:
|
||
root: /themes/default/
|
||
public_dir: /themes/default/web/public/
|
||
|
||
identification:
|
||
oidc:
|
||
provider: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob
|
||
provider_config:
|
||
issuer_url: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob
|
||
auth_url: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob/auth
|
||
token_url: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob/token
|
||
user_info_url: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob/user_info
|
||
jwks_url: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob/.well-known/jwks.json
|
||
client_id: abcdef
|
||
client_secret: ghijkl
|
||
redirect_url: http://parcoursmob.tilt-dev.svc.cluster.local/api/oauth2/callback
|
||
|
||
services:
|
||
grpc:
|
||
mobilityaccounts:
|
||
dial: mobility-accounts:8080
|
||
groupsmanagement:
|
||
dial: groups-management:8080
|
||
fleets:
|
||
dial: fleets:8080
|
||
agenda:
|
||
dial: agenda:8080
|
||
diags:
|
||
dial: diags:8080
|
||
solidaritytransport:
|
||
dial: solidarity-transport:8080
|
||
carpoolservice:
|
||
dial: carpool-service:8080
|
||
savedsearch:
|
||
dial: saved-search:8080
|
||
navitia:
|
||
api_key: abcd
|
||
|
||
storage:
|
||
kv:
|
||
type: etcd
|
||
etcd:
|
||
endpoints:
|
||
- etcd:2379
|
||
prefix: parcoursmob/cache/
|
||
files:
|
||
type: minio
|
||
minio:
|
||
endpoint: minio:9000
|
||
access_key: minio
|
||
secret_key: minio123
|
||
use_ssl: false
|
||
bucket_name: parcoursmob
|
||
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
|
||
|
||
sms:
|
||
provider: smsfactor
|
||
smsfactor:
|
||
token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxOTMzMiIsImlhdCI6MTc0NjQxOTgyNi4yODI3OTJ9.XZF1nD6bf_gyw7ZA6t5-OxEd4SfpdhAE7SBtJcAhLtU
|
||
|
||
emailing:
|
||
smtp:
|
||
host: smtp4dev
|
||
port: 25
|
||
username: noreply@parcoursmob.fr
|
||
password: 12345678
|
||
|
||
modules:
|
||
dashboard:
|
||
enabled: true
|
||
journeys:
|
||
enabled: true
|
||
search_view: compact # Options: "tabs" (default) or "compact"
|
||
solutions:
|
||
solidarity_transport:
|
||
enabled: true
|
||
organized_carpool:
|
||
enabled: true
|
||
carpool_operators:
|
||
enabled: true
|
||
transit:
|
||
enabled: true
|
||
fleet_vehicles:
|
||
enabled: true
|
||
knowledge_base:
|
||
enabled: true
|
||
beneficiaries:
|
||
enabled: true
|
||
documents_types:
|
||
- identity_proof
|
||
- driving_licence
|
||
- work_contract
|
||
- other
|
||
validated_profile:
|
||
enabled: true
|
||
required:
|
||
documents:
|
||
- identity_proof
|
||
assert:
|
||
compare:
|
||
- field: other_properties.last_subscription_date
|
||
type: gte
|
||
value: 2025-01-01
|
||
profile_optional_fields:
|
||
- name: gender
|
||
label: Genre
|
||
type: select
|
||
options:
|
||
- value: "0"
|
||
label: Inconnu
|
||
- value: "1"
|
||
label: Masculin
|
||
- value: "2"
|
||
label: Féminin
|
||
- value: "9"
|
||
label: Sans objet
|
||
- name: registration_reason
|
||
label: Motif d'inscription
|
||
type: select
|
||
options:
|
||
- value: ""
|
||
label: Inconnu
|
||
- value: Pas de permis
|
||
label: Pas de permis
|
||
- value: Pas de véhicule
|
||
label: Pas de véhicule
|
||
- value: Perte d'autonomie
|
||
label: Perte d'autonomie
|
||
- value: Autre
|
||
label: Autre
|
||
- name: social_situation
|
||
label: Situation sociale
|
||
type: select
|
||
options:
|
||
- value: ""
|
||
label: Inconnu
|
||
- value: BRSA
|
||
label: BRSA
|
||
- value: Demandeur d'emploi
|
||
label: Demandeur d'emploi
|
||
- value: Chantier d'insertion
|
||
label: Chantier d'insertion
|
||
- value: Jeune -25
|
||
label: Jeune -25
|
||
- name: professional_situation
|
||
label: Situation professionnelle
|
||
type: select
|
||
options:
|
||
- value: ""
|
||
label: Inconnue
|
||
- value: Sans emploi
|
||
label: Sans emploi
|
||
- value: Employé
|
||
label: Employé
|
||
- value: Autre
|
||
label: Autre
|
||
- name: last_subscription_date
|
||
label: Date de dernière adhésion
|
||
type: date
|
||
- name: comment
|
||
label: Commentaire
|
||
type: textarea
|
||
solidarity_transport:
|
||
drivers:
|
||
validated_profile:
|
||
enabled: true
|
||
required:
|
||
documents:
|
||
- driving_licence
|
||
assert:
|
||
compare:
|
||
- field: other_properties.last_subscription_date
|
||
type: gte
|
||
value: 2025-01-01
|
||
profile_optional_fields:
|
||
- name: gender
|
||
label: Genre
|
||
type: select
|
||
options:
|
||
- value: "0"
|
||
label: Inconnu
|
||
- value: "1"
|
||
label: Masculin
|
||
- value: "2"
|
||
label: Féminin
|
||
- value: "9"
|
||
label: Sans objet
|
||
- name: last_subscription_date
|
||
label: Date de dernière adhésion
|
||
type: date
|
||
- name: indemnisation
|
||
label: Indemnisation
|
||
type: multicheckbox
|
||
options:
|
||
- value: indemnisation_km
|
||
label: Indemnisation au km
|
||
- value: deduction_fiscale
|
||
label: Déduction fiscale
|
||
- value: pas_indemnisation
|
||
label: Pas d'indemnisation
|
||
- name: comment
|
||
label: Commentaire
|
||
type: textarea
|
||
booking_motivations:
|
||
- value: Loisirs
|
||
label: Loisirs
|
||
- value: Santé
|
||
label: Santé
|
||
- value: ""
|
||
label: "Autre"
|
||
|
||
organized_carpool:
|
||
enabled: true
|
||
drivers:
|
||
documents_types:
|
||
- membership_form
|
||
- driving_licence
|
||
- identity_proof
|
||
- other
|
||
validated_profile:
|
||
enabled: true
|
||
required:
|
||
documents:
|
||
- driving_licence
|
||
assert:
|
||
compare:
|
||
- field: other_properties.last_subscription_date
|
||
type: gte
|
||
value: 2025-01-01
|
||
booking_motivations:
|
||
- value: Loisirs
|
||
label: Loisirs
|
||
- value: Santé
|
||
label: Santé
|
||
- value: ""
|
||
label: "Autre"
|
||
|
||
fleets:
|
||
enabled: true
|
||
vehicle_types:
|
||
- Voiture
|
||
- Voiture sans permis
|
||
- Scooter
|
||
- Vélo électrique
|
||
- Trottinette
|
||
vehicle_optional_fields:
|
||
- name: nombre_places
|
||
label: Nombre de places
|
||
type: number
|
||
- name: couleur
|
||
label: Couleur
|
||
type: text
|
||
booking_documents:
|
||
mandatory:
|
||
- driving_licence
|
||
- identity_proof
|
||
- work_contract
|
||
agenda:
|
||
enabled: true
|
||
calendars:
|
||
global:
|
||
enabled: true
|
||
organizations:
|
||
enabled: true
|
||
events_types:
|
||
- name: Accompagnements individuels
|
||
- 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
|
||
documents_types:
|
||
- other
|
||
knowledge:
|
||
enabled: true
|
||
|
||
geography:
|
||
storage:
|
||
index:
|
||
type: memory_rtree
|
||
bleve:
|
||
file: index.bleve
|
||
data:
|
||
layers:
|
||
regions: https://etalab-datasets.geo.data.gouv.fr/contours-administratifs/latest/geojson/regions-50m.geojson
|
||
departements: https://etalab-datasets.geo.data.gouv.fr/contours-administratifs/latest/geojson/departements-50m.geojson
|
||
epci: https://etalab-datasets.geo.data.gouv.fr/contours-administratifs/latest/geojson/epci-50m.geojson
|
||
communes: https://etalab-datasets.geo.data.gouv.fr/contours-administratifs/latest/geojson/communes-50m.geojson
|
||
filters:
|
||
enabled: true
|
||
geographies:
|
||
- layer: "epci"
|
||
code: "246300701"
|
||
- layer: "epci"
|
||
code: "200070753"
|
||
- layer: "epci"
|
||
code: "200070407"
|
||
- layer: "epci"
|
||
code: "200069177"
|
||
- layer: "epci"
|
||
code: "200070712"
|
||
- layer: "epci"
|
||
code: "200070761"
|
||
- layer: "epci"
|
||
code: "200067627"
|
||
- layer: "epci"
|
||
code: "200071199"
|
||
- layer: "epci"
|
||
code: "200072098"
|
||
- layer: "epci"
|
||
code: "246301097"
|
||
- layer: "epci"
|
||
code: "200072080"
|
||
- layer: "epci"
|
||
code: "200071215"
|
||
- layer: "epci"
|
||
code: "200069169"
|
||
- layer: "epci"
|
||
code: "246300966"
|
||
|
||
payments:
|
||
pricing:
|
||
type: mms43
|
||
|
||
routing:
|
||
type: valhalla
|
||
valhalla:
|
||
base_url: https://valhalla.coopgo.io/
|
||
|
||
geo:
|
||
type: addok
|
||
pelias:
|
||
url: https://geocode.ridygo.fr
|
||
autocomplete: /autocomplete?text=
|
||
addok:
|
||
url: https://api-adresse.data.gouv.fr
|
||
autocomplete: /search/?q=
|
||
|
||
multimodal:
|
||
modes:
|
||
carpool:
|
||
enabled: true
|
||
operators:
|
||
- name: Movici RDEX
|
||
type: rdex
|
||
base_url: https://api.movici.auvergnerhonealpes.fr
|
||
operator_id: movici.auvergnerhonealpes
|
||
api_key: rdex_mms_43:rdex_mms_43_8JK*H?GY.KW:P*RUrNNw4pT7aGmKQrWG-42
|
||
# - name: Blablacar Daily
|
||
# type: blablacardaily
|
||
# base_url: https://partners.blablacardaily.com/2/third_party/public
|
||
# operator_id: partners.blablacardaily.com
|
||
# api_key: vldUmlnJUvRI3v13XPgZW-gVy-4Y30z713VUpB7R92U
|
||
transit:
|
||
enabled: true
|
||
type: transitous
|
||
transitous:
|
||
server: https://api.transitous.org
|
||
|
||
knowledge_base:
|
||
- title: Le Puy en Velay TAD
|
||
url: https://mobilite.lepuyenvelay.fr/tad/
|
||
description: "Contacter l’espace commercial MOBILITE-EN-VELAY la veille avant 12h00 pour réserver au 04 71 02 60 11. Tarifs Coût du trajet: 1,80€ soit 3.60 € pour un aller-retour (ticket en vente dans le véhicule)."
|
||
geography:
|
||
- layer: communes
|
||
code: 43021
|
||
- layer: communes
|
||
code: 43165
|
||
- layer: communes
|
||
code: 43268
|
||
- layer: communes
|
||
code: 43136
|
||
- layer: communes
|
||
code: 43052
|
||
- layer: communes
|
||
code: 43220
|
||
- layer: communes
|
||
code: 43234
|
||
- layer: communes
|
||
code: 43080
|
||
- layer: communes
|
||
code: 43071
|
||
- layer: communes
|
||
code: 43026
|
||
- layer: communes
|
||
code: 43157
|
||
- layer: communes
|
||
code: 43268
|
||
- layer: communes
|
||
code: 43236
|
||
- title: Chantiers jeunes Communautes de Commune des Sucs (aide 250€ pour le permis)
|
||
url: https://www.cc-des-sucs.fr/actualites/chantiers-jeunes-ccds
|
||
description: En contrepartie d'une participation d'une semaine à un chantier de jeunes en juillet, tu peux bénéficier d'une bourse au permis de conduire de 250 €.
|
||
geography:
|
||
- layer: epci
|
||
code: 244301016
|