silvermobi/config.yaml

71 lines
2.7 KiB
YAML

service_name: SILVERMOBI
services:
internal:
mobility_accounts:
type: grpc
dial: localhost:8090
push:
type: gorush-grpc
dial: 0.0.0.0:8095
external:
grpc:
enable: true
port: 8099
web:
enable: true
port: 8098
moncomptemobilite:
enable: true
port: 8097
oidc:
provider: https://idp-fabmob.stg.hub.flowbird.io/auth/realms/mcm
client_id: ridygo-pub
# redirect_url: "http://192.168.1.27:8097/callbacks/oidc/cee"
redirect_url: "http://192.168.1.27:8097/callbacks/oidc/cee"
# redirect_url: "http://localhost:8097/callbacks/oidc/cee"
certinergy:
enable: true
port: 8100
jwt_key: 6mt29Z4rkCPmib9ckigPWFbaDTQFUPyK
# jwt_key : UjXnZr4u7x!A%D*G-KaPdSgVkYp3s5v8 # PROD
clients:
- name: certinergy
id: cd11c681-4168-4bdf-8f2d-9e3ade5fac8d
bearer: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJjZDExYzY4MS00MTY4LTRiZGYtOGYyZC05ZTNhZGU1ZmFjOGQiLCJuYW1lIjoiY2VydGluZXJneSIsImlhdCI6MTUxNjIzOTAyMn0.tPwn3uD_6T4FjOTehYDRNg39x2A4E9FFv6qTgduODaA
# bearer: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJjZDExYzY4MS00MTY4LTRiZGYtOGYyZC05ZTNhZGU1ZmFjOGQiLCJuYW1lIjoiY2VydGluZXJneSIsImlhdCI6MTUxNjIzOTAyMn0.LAr2l5X9XFRbPRPQvZLt8AWyfzbFGS5BO9MlB4U5HJo # PROD
identification:
local:
jwt_secret: JWT_KEY
ttl: 120s
carpooling_proofs:
rpc_registry:
base_url: https://api.demo.covoiturage.beta.gouv.fr
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhIjoiN2Y4MTQwNzYtOTJmOS00NjExLTlhMmItZjA0MzU4MmMwOWI3IiwibyI6OSwicyI6Im9wZXJhdG9yIiwicCI6WyJjb21tb24uY2VydGlmaWNhdGUuZmluZCIsImNvbW1vbi5jb21wYW55LmZldGNoIiwiY29tbW9uLmNvbXBhbnkuZmluZCIsImNvbW1vbi5ob25vci5zYXZlIiwiY29tbW9uLmhvbm9yLnN0YXRzIiwiY29tbW9uLm9wZXJhdG9yLmxpc3QiLCJjb21tb24ub3BlcmF0b3IuZmluZCIsImNvbW1vbi5wb2xpY3kubGlzdCIsImNvbW1vbi5wb2xpY3kubGlzdC50ZW1wbGF0ZXMiLCJjb21tb24udGVycml0b3J5LmZpbmQiLCJjb21tb24udGVycml0b3J5Lmxpc3QiLCJjb21tb24udGVycml0b3J5LnJlYWQiLCJjb21tb24udHJpcC5zdGF0cyIsImNvbW1vbi51c2VyLnVwZGF0ZSIsImNvbW1vbi51c2VyLmZpbmQiLCJjb21tb24udXNlci5wb2xpY3lTaW11bGF0ZSIsIm9wZXJhdG9yLmFjcXVpc2l0aW9uLmNyZWF0ZSIsIm9wZXJhdG9yLmFjcXVpc2l0aW9uLmNhbmNlbCIsIm9wZXJhdG9yLmFjcXVpc2l0aW9uLnN0YXR1cyIsIm9wZXJhdG9yLmNlcnRpZmljYXRlLmNyZWF0ZSIsIm9wZXJhdG9yLmNlcnRpZmljYXRlLmRvd25sb2FkIiwib3BlcmF0b3IucG9saWN5LnNpbXVsYXRlLmZ1dHVyZSJdLCJ2IjoyLCJpYXQiOjE2NzgwOTg0NTR9.b4ezR41U4kGwa6FVF0-JyvqEE1kKtxGEa5gzqh4ctTU
storage:
kv:
redis:
addr: 0.0.0.0:6379
db: db0
type: minio
geocoder:
type: pelias
pelias:
base_url: https://geocode.ridygo.fr
routing:
type: valhalla
valhalla:
base_url: https://valhalla.coopgo.io/
emailing:
smtp:
host: mail.gandi.net
port: 587
username: support@parcoursmob.fr
password: Sc1tYc00p