# CoreScope — simple single-container deployment using the pre-built # image from GHCR. # # AUDIENCE: third-party operators running a self-hosted CoreScope on # ONE host. Ships with the built-in Mosquitto broker DISABLED by # default (DISABLE_MOSQUITTO defaults to `false` here, meaning # mosquitto RUNS in-container — the historical shape); flip to `true` # if you already have an external MQTT broker to point CoreScope at. # # For the CoreScope maintainers' internal staging deployment (with a # standalone `mqtt-broker` container on external network # `meshcore-net`), see `docker-compose.staging.yml`. # # Usage: docker compose -f docker-compose.example.yml up -d # Docs: https://github.com/Kpa-clawbot/CoreScope/blob/master/DEPLOY.md services: corescope: image: ghcr.io/kpa-clawbot/corescope:latest ports: - "${HTTP_PORT:-80}:80" volumes: - ${DATA_DIR:-./data}:/app/data environment: - DISABLE_CADDY=${DISABLE_CADDY:-true} - DISABLE_MOSQUITTO=${DISABLE_MOSQUITTO:-false} restart: unless-stopped healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:3000/api/stats"] interval: 30s timeout: 5s retries: 3