RockyCPanel Rocky

Connector-Go Config Reference

Based on `connector-go/config.go` defaults and validation.

{
  "panel": {
    "url": "https://panel.example.com",
    "allowedUrls": ["https://panel.example.com"]
  },
  "connector": {
    "id": 1,
    "token": "YOUR_CONNECTOR_TOKEN",
    "name": "node-1"
  },
  "sftp": {
    "host": "0.0.0.0",
    "port": 8312,
    "directory": "/var/lib/cpanel/volumes",
    "hostKeyPath": "./sftp_host_rsa.key"
  },
  "docker": {
    "network": {
      "name": "cpanel_nw",
      "network_mode": "cpanel_nw",
      "driver": "bridge",
      "interface": "172.18.0.1",
      "dns": ["1.1.1.1", "1.0.0.1"]
    }
  }
}

Validation Notes