Sign inSign up

darvik80/iot-platform

By darvik80

•Updated about 1 hour ago

Your own IoT Platform. More info: https://cogitor.dev/iot-platform

Image
Networking
Internet of things
Web servers
0

577

darvik80/iot-platform repository overview

Cogitor IoT Platform is a server for managing ESP32 devices that runs on your own hardware: a NAS, a Raspberry Pi, or a regular Linux server. Devices connect to it over MQTT, and you see their status and telemetry and control them from a browser.

Everything ships in a single binary: MQTT broker, database, web dashboard, and OTA updates. No separate Mosquitto, Grafana, or database to set up, no cloud subscription — your data stays on your hardware.

More details here⁠

compose.yaml

services:
  platform:
    image: ${IOT_IMAGE:-darvik80/iot-platform:latest}
    build:
      context: .
      args:
        VERSION: ${IOT_VERSION:-dev}
    container_name: ${IOT_CONTAINER_NAME:-iot-platform-go}
    restart: unless-stopped
    # Host ports are configurable; container ports are fixed by the image.
    ports:
      - "${IOT_HTTP_PORT:-8080}:8080"
      - "${IOT_MQTT_PORT:-1883}:1883"
      - "${IOT_MQTT_WS_PORT:-8083}:8083"
      - "${IOT_MQTT_TLS_PORT:-8883}:8883"
    environment:
      # Announce the host-side ports in device credentials / Settings.
      MQTT_PUBLIC_PORT: ${IOT_MQTT_PORT:-1883}
      MQTT_WS_PUBLIC_PORT: ${IOT_MQTT_WS_PORT:-8083}
      MQTT_TLS_PUBLIC_PORT: ${IOT_MQTT_TLS_PORT:-8883}
    # Optional platform settings (PUBLIC_BASE_URL, JWT_SECRET, SMTP_*, ...).
    # Only variables present in the file are passed, so config.yml from the
    # setup wizard still applies to everything left out.
    env_file:
      - path: ./platform.env
        required: false
    volumes:
      - ${IOT_DATA_DIR:-./iot/data}:/opt/iot-platform/lib
      - ${IOT_ETC_DIR:-./iot/etc}:/opt/iot-platform/etc

Tag summary

Content type

Image

Digest

sha256:a2ea64610…

Size

11.7 MB

Last updated

about 1 hour ago

docker pull darvik80/iot-platform