webserver.json 875 B

123456789101112131415161718192021222324252627282930313233
  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:zeus.fsociety.hu:9004}",
  7. "database_project": "${DATABASE_PROJECT:smartbotic-automation}",
  8. "server": {
  9. "max_upload_mb": 32
  10. },
  11. "runners": {
  12. "load_balancing": "least-connections",
  13. "heartbeat_timeout_sec": 30,
  14. "offline_removal_sec": 60
  15. },
  16. "auth": {
  17. "jwt_secret": "${JWT_SECRET:dev-secret-change-in-production}",
  18. "access_token_lifetime_sec": 900,
  19. "refresh_token_lifetime_sec": 86400
  20. },
  21. "credentials": {
  22. "master_key": "${CREDENTIALS_MASTER_KEY:dev-key-change-in-production}",
  23. "pbkdf2_iterations": 100000
  24. },
  25. "cors": {
  26. "enabled": true,
  27. "origins": ["*"]
  28. },
  29. "logging": {
  30. "level": "${LOG_LEVEL:info}",
  31. "file": "${LOG_FILE:}"
  32. }
  33. }