2023-05-28 17:08:30 +02:00
|
|
|
# Configuration du service "admin"
|
2023-04-24 20:52:12 +02:00
|
|
|
admin:
|
|
|
|
http:
|
2023-05-28 17:08:30 +02:00
|
|
|
# Hôte d'écoute du service,
|
|
|
|
# 0.0.0.0 pour écouter sur toutes les interfaces
|
2023-04-24 20:52:12 +02:00
|
|
|
host: 127.0.0.1
|
2023-05-28 17:08:30 +02:00
|
|
|
# Port d'écoute du service
|
2023-04-24 20:52:12 +02:00
|
|
|
port: 8081
|
2023-05-28 17:08:30 +02:00
|
|
|
|
|
|
|
# Configuration CORS du service
|
|
|
|
# Uniquement nécessaire si un frontend web
|
|
|
|
# est branché sur l'API d'administration.
|
2023-04-24 20:52:12 +02:00
|
|
|
cors:
|
|
|
|
allowedOrigins:
|
2023-05-28 17:08:30 +02:00
|
|
|
- http://localhost:8081
|
2023-04-24 20:52:12 +02:00
|
|
|
allowCredentials: true
|
|
|
|
allowMethods:
|
|
|
|
- POST
|
|
|
|
- GET
|
|
|
|
- PUT
|
|
|
|
- DELETE
|
|
|
|
allowedHeaders:
|
|
|
|
- Origin
|
|
|
|
- Accept
|
|
|
|
- Content-Type
|
|
|
|
- Authorization
|
|
|
|
- Sentry-Trace
|
|
|
|
debug: false
|
|
|
|
auth:
|
|
|
|
issuer: http://127.0.0.1:8081
|
2023-05-28 15:41:40 +02:00
|
|
|
privateKey: /etc/bouncer/admin-key.json
|
2023-05-28 17:08:30 +02:00
|
|
|
|
|
|
|
# Configuration du service "proxy"
|
2023-04-24 20:52:12 +02:00
|
|
|
proxy:
|
|
|
|
http:
|
2023-05-28 17:08:30 +02:00
|
|
|
# Hôte d'écoute du service,
|
|
|
|
# 0.0.0.0 pour écouter sur toutes les interfaces
|
2023-04-24 20:52:12 +02:00
|
|
|
host: 0.0.0.0
|
2023-05-28 17:08:30 +02:00
|
|
|
# Port d'écoute du service
|
2023-04-24 20:52:12 +02:00
|
|
|
port: 8080
|
2023-05-28 17:08:30 +02:00
|
|
|
|
|
|
|
# Configuration du client Redis
|
|
|
|
#
|
|
|
|
# Les modes "standalone", "sentinel" et "cluster" de Redis sont supportés:
|
|
|
|
# - Mode "standalone": renseigner une seule entrée dans redis.addresses;
|
|
|
|
# - Mode "sentinel": renseigner une adresse dans redis.master et une ou plusieurs adresses dans redis.addresses;
|
|
|
|
# - Mode "cluster": renseigner plusieurs adresses dans redis.addresses et laisser redis.master vide.
|
2023-05-28 15:41:40 +02:00
|
|
|
redis:
|
|
|
|
addresses:
|
|
|
|
- localhost:6379
|
|
|
|
master: ""
|
2023-05-28 17:08:30 +02:00
|
|
|
|
|
|
|
# Configuration des logs
|
2023-04-24 20:52:12 +02:00
|
|
|
logger:
|
2023-05-28 17:08:30 +02:00
|
|
|
# Niveau de verbosité
|
|
|
|
# 0 - DEBUG
|
|
|
|
# 1 - INFO
|
|
|
|
# 2 - WARNING
|
|
|
|
# 3 - ERROR
|
|
|
|
# 4 - FATAL
|
2023-04-24 20:52:12 +02:00
|
|
|
level: 1
|
2023-05-28 17:08:30 +02:00
|
|
|
# Format des logs, "human" ou "json"
|
2023-05-28 15:41:40 +02:00
|
|
|
format: human
|
2023-06-13 03:57:13 +02:00
|
|
|
|
|
|
|
# Configuration des différents layers
|
|
|
|
layers:
|
|
|
|
# Configuration du layer "queue"
|
|
|
|
queue:
|
|
|
|
# Répertoire contenant les templates
|
|
|
|
templateDir: "/etc/bouncer/layers/queue/templates"
|
|
|
|
# Temps de vie par défaut d'une session
|
|
|
|
defaultKeepAlive: 1m
|