Vera

Docker Infrastructure

Compose stack for MQTT/ClickHouse/EMQX.

Docker Infrastructure (v2026-08-02T101544Z-ab2bbdebf5) 2026-08-01 | Compose stack for MQTT/ClickHouse/EMQX. 1 - Infrastructure Layer kevin-postgres postgres_data:/var/lib/postgresql/data POSTGRES_USER: ${POSTGRES_USER:-kv} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-changeme} emqx/emqx:5-latest mqtt_data:/opt/emqx/data EMQX_DEFAULT_USER: ${MQTT_USERNAME:-kevin-client} GET /api/health database conne… 2 - Kevin Services Layer daemon/Dockerfile KEVIN_PORT_DAEMON: ${KEVIN_PORT_DAEMON:-8001} GET /api/health python -c "import urllib.request,sys; sys.exit(0 if urllib.request.urlopen('http://127.0.0.1:${KEVIN_PORT_DAEMON:-800… caddy:2-alpine ./Caddyfile:/etc/caddy/Caddyfile:ro DAEMON_URL: http://daemon:${KEVIN_PORT_DAEMON:-8001} daemon health 1. Copy .env.example → .env 2. Edit .env with settings 3. docker compose pull && docker com… 4. Verify daemon health: curl http:/… 5. Access Marco API: curl http://loc… Sample .env file POSTGRES_USER=kv POSTGRES_PASSWORD=changeme MQTT_USERNAME=kevin-client MQTT_PASSWORD=changeme Caddyfile snippet :80 { reverse_proxy kevin-daemon:8001 } InfluxDB and EMQX are not included in the current setup. Legend actor = initiates work · process = code path · store = state on disk · bus = durable queue · dashed = separate process cyan = request flow · pink = state read/write · dashed green = pull / return path · red = refusal

Provenance

This drawing is generated, not drawn. It is rebuilt from the source files below, so when they change the picture changes — a diagram here cannot quietly describe a system that no longer works this way.

Owner
Vera
Slug
docker-infra
Rendered
2026-08-02T101544Z
From commit
ab2bbdebf5
Watches
2 paths
  • docker
  • plugins/_infrastructure