webserver.json 759 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "http_port": 8090,
  3. "node_sync_port": 9012,
  4. "credential_service_port": 9013,
  5. "static_files_path": "${WEBUI_PATH:./webui/dist}",
  6. "database_address": "${DATABASE_ADDRESS:localhost:9010}",
  7. "runners": {
  8. "load_balancing": "least-connections",
  9. "heartbeat_timeout_sec": 30,
  10. "offline_removal_sec": 60
  11. },
  12. "auth": {
  13. "jwt_secret": "${JWT_SECRET:dev-secret-change-in-production}",
  14. "access_token_lifetime_sec": 900,
  15. "refresh_token_lifetime_sec": 604800
  16. },
  17. "credentials": {
  18. "master_key": "${CREDENTIALS_MASTER_KEY:dev-key-change-in-production}",
  19. "pbkdf2_iterations": 100000
  20. },
  21. "cors": {
  22. "enabled": true,
  23. "origins": ["*"]
  24. },
  25. "logging": {
  26. "level": "${LOG_LEVEL:info}",
  27. "file": "${LOG_FILE:}"
  28. }
  29. }