Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1010 Bytes

File metadata and controls

37 lines (28 loc) · 1010 Bytes

Configuration

Configuration is managed via environment variables with the RHINO_ prefix.

Environment Variables

# Rhino Configuration
RHINO_PATH="/Applications/Rhino 8.app/Contents/MacOS/Rhinoceros"
RHINO_SERVER_SCRIPT=""                    # Path to custom server script
RHINO_SERVER_BIND_MODE="unix"             # unix, tcp, both
RHINO_SOCKET_PATH="/tmp/rhino.sock"
RHINO_TCP_HOST="127.0.0.1"
RHINO_TCP_PORT="17890"
RHINO_STARTUP_TIMEOUT="30s"
RHINO_SHUTDOWN_TIMEOUT="10s"

# Health Monitoring
RHINO_HEALTH_INTERVAL="5s"
RHINO_HEALTH_TIMEOUT="2s"
RHINO_HEALTH_RETRIES="3"

# Queue Configuration
RHINO_QUEUE_WORKERS="4"
RHINO_QUEUE_MAX_SIZE="1000"

# Server Configuration
RHINO_SERVER_MODE="http"                  # Always http
RHINO_SERVER_PORT="9090"

# Logging
RHINO_LOG_LEVEL="info"                    # debug, info, warn, error

Future: Config File Support

A YAML config file at ~/.rhino-cli.yml is planned for future releases. Current version uses environment variables only.