Overview
Each ClawControl deployment is configured using aconfig.json file stored in ~/.clawcontrol/deployments/<deployment-name>/. This file defines your cloud provider settings, OpenClaw configuration, and agent settings.
Configuration Schema
The deployment configuration follows theDeploymentConfigSchema defined in src/types/index.ts:167.
Core Fields
Unique identifier for the deployment. Must be lowercase letters, numbers, and hyphens only. Must start and end with a letter or number. Maximum 63 characters (RFC 1123 hostname format).
Cloud provider to use for deployment.Options:
hetzner, digitalocean, vultrISO 8601 timestamp of when the deployment was created.
Whether to skip Tailscale installation and configuration. Set to
true to deploy without Tailscale VPN.Default: falseProvider-Specific Configuration
Hetzner-specific configuration. Required when
provider is hetzner.DigitalOcean-specific configuration. Required when
provider is digitalocean.OpenClaw Configuration
Optional configuration overrides for OpenClaw gateway and browser settings. See OpenClaw Configuration for details.
AI agent and channel configuration. See OpenClaw Configuration for details.
Storage Location
Configuration files are stored at:src/services/config.ts:12-13:
Example Configuration
Hetzner Deployment
DigitalOcean Deployment
Related Files
- Type Definition:
src/types/index.ts:167-DeploymentConfigSchema - Config Service:
src/services/config.ts- Configuration management functions - Validation:
src/services/config.ts:227-validateDeploymentName()