{ "listeners": [ { "address": "0.0.0.0", "port": 5555, "https": false } ], "db_clients": [ { "name": "default", "rdbms": "mysql", "host": "127.0.0.1", "port": 3306, "dbname": "visione", "user": "visione", "passwd": "visione", "is_fast": false, "number_of_connections": 1, "timeout": 5.0 } ], "app": { "number_of_threads": 2, "enable_session": false, "document_root": "./", "use_implicit_page": false, "load_dynamic_views": false, "json_parser_stack_limit": 1000, "log": { "use_spdlog": false, "logfile_base_name": "", "log_size_limit": 100000000, "max_files": 0, "log_level": "DEBUG", "display_local_time": true }, "run_as_daemon": false, "handle_sig_term": true, "use_gzip": true, "use_brotli": false, "client_max_body_size": "50M", "client_max_memory_body_size": "256K", "static_files": [ { "document_root": "./uploads", "alias": "/uploads" } ] }, "plugins": [], "custom_config": { "service_name": "visione-backend", "migrations_path": "migrations", "auth": { "token_ttl_hours": 24, "otp_ttl_minutes": 10 }, "oidc_federation": { "trust_anchors": [ "http://127.0.0.1:8000" ], "identity_providers": { "cie_demo": { "profile": "cie", "issuer": "http://127.0.0.1:8002/oidc/op", "trust_anchor": "http://127.0.0.1:8000" } } }, "oidc_rp": { "enabled": true, "base_url": "http://127.0.0.1:5555", "client_id": "http://127.0.0.1:8000/oidc/rp", "redirect_uri": "http://127.0.0.1:5555/api/v1/auth/cie/callback", "post_login_redirect_uri": "http://localhost:3000/auth/cie/callback", "organization_name": "that fancy RP", "client_name": "Name of an example organization", "contacts": [ "ops@rp.example.it" ], "jwks_path": "secrets/oidc/demo-rp-jwks.json", "federation_jwks_path": "secrets/oidc/rp-federation-jwks.json" }, "mail": { "smtp_host": "127.0.0.1", "smtp_port": 1025, "from": "noreply@visione.local" }, "uploads": { "public_base_path": "/uploads", "reports_path": "reports" }, "openapi": { "spec_path": "build/openapi/visione.openapi.json" }, "cors": { "allowed_origin": "http://localhost:3000" } } }