CLI Commands
server
Start and manage the Ocuroot server
Server Command
The server
command starts and manages the Ocuroot server instance.
Usage
Description
The server command starts an Ocuroot server instance that:
- Handles API requests
- Manages state
- Coordinates deployments
- Processes builds
- Monitors environments
Flags
--port
: Specify server port (default: 8080)--host
: Specify host address--config
: Path to server configuration file--log-level
: Set logging level
Examples
Configuration
The server can be configured through:
- Command line flags
- Configuration file
- Environment variables
Key configuration options include:
- Network settings
- Authentication
- Storage options
- Logging preferences
- Resource limits
Related Commands
generate-server-secret
: Generate server secret