Ctrl K
ComunidadGuías…

deploy/cold-standby/config.example.json

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
{
  "schema_version": 1,
  "host": {
    "id": "standby-host",
    "role": "laptop",
    "peer_id": "primary-host"
  },
  "health": {
    "local_url": "https://standby.ops.example.test/health/ready",
    "peer_url": "https://primary.ops.example.test/health/ready",
    "stable_url": "https://exomem.example.test/health/ready",
    "oauth_discovery_url": "https://exomem.example.test/.well-known/oauth-authorization-server"
  },
  "services": {
    "exomem": "Exomem",
    "cloudflared": "cloudflared"
  },
  "tunnels": {
    "local_name": "standby-tunnel",
    "local_id": "22222222-2222-4222-8222-222222222222",
    "peer_name": "primary-tunnel",
    "peer_id": "11111111-1111-4111-8111-111111111111",
    "stable_hostname": "exomem.example.test",
    "local_operational_hostname": "standby.ops.example.test",
    "peer_operational_hostname": "primary.ops.example.test",
    "config_path": "operator-config/cloudflared/config.yml",
    "origin_service_url": "http://127.0.0.1:8765"
  },
  "cloudflare": {
    "api_token_environment": "CLOUDFLARE_API_TOKEN",
    "zone_id_environment": "CLOUDFLARE_ZONE_ID"
  },
  "syncthing": {
    "api_url": "http://127.0.0.1:8384",
    "api_key_environment": "SYNCTHING_API_KEY",
    "folder_id": "vault",
    "folder_path": "syncthing-shared",
    "peer_device_id": "peer-device-id",
    "intent_relative_path": ".exomem-state/desired-host.json"
  },
  "state": {
    "journal_path": "operator-state/journal.json",
    "intent_path": "syncthing-shared/.exomem-state/desired-host.json",
    "manifest_path": "syncthing-shared/.exomem-state/manifest-standby-host.json",
    "peer_manifest_path": "syncthing-shared/.exomem-state/manifest-primary-host.json"
  },
  "identity_environment": {
    "dotenv_path": "operator-config/exomem.env",
    "base_url": "EXOMEM_BASE_URL",
    "github_client_id": "GITHUB_CLIENT_ID",
    "github_client_secret": "GITHUB_CLIENT_SECRET",
    "github_username": "EXOMEM_GITHUB_USERNAME",
    "github_user_id": "EXOMEM_GITHUB_USER_ID",
    "jwt_signing_key": "EXOMEM_JWT_SIGNING_KEY",
    "instance_id": "EXOMEM_INSTANCE_ID"
  },
  "operations": {
    "probe_attempts": 3,
    "probe_delay_seconds": 2,
    "desktop_logon_delay_seconds": 30
  }
}