ESP-IDF CI / Host Tests (Unity) (push) Successful in 1m8s
CI / firmware-native (push) Successful in 2m57s
Rust Protection Tests / Cargo test (host) (push) Failing after 3m21s
ESP-IDF CI / ESP-IDF Build (v5.4) (push) Failing after 6m55s
ESP-IDF CI / Memory Budget Gate (push) Has been skipped
qa-cicd-environments / qa-kxkm-s3-build (push) Successful in 8m53s
qa-cicd-environments / qa-sim-host (push) Successful in 2m2s
qa-cicd-environments / qa-kxkm-s3-memory-budget (push) Successful in 11m17s
Context: the project archive (KXKM_Batterie_Parallelator-main) had no git history locally; a fresh repository is needed to host it on git.saillant.cc (electron/KXKM_Batterie_Parallelator). Approach: initialize a new repo on branch main, stage the archive content, and harden .gitignore before the first commit. Changes: - Import the full project tree: firmware/, firmware-idf/, firmware-rs/, iosApp/, kxkm-bmu-app/, kxkm-api/, hardware/, docs/, specs/, scripts/, models/, tests/ - Keep project dotfiles tracked despite the trailing '.*' ignore rule: .github/, .claude/, .superpowers/, .gitattributes, .markdownlint.json - Extend .gitignore: firmware/src/credentials.h (local secrets, template kept), kxkm-bmu-app/**/build/ (66 MB compiled iOS framework), .remember/ (session data) Impact: the project can now be maintained on the self-hosted Gitea forge with a clean, secret-free initial history.
77 lines
1.9 KiB
YAML
77 lines
1.9 KiB
YAML
# SOH Scoring Pipeline — Docker Compose for kxkm-ai
|
|
# Deploy: docker compose -f services/soh-scoring/docker-compose.yml up -d
|
|
|
|
version: "3.8"
|
|
|
|
services:
|
|
soh-api:
|
|
build:
|
|
context: .
|
|
target: soh-api
|
|
container_name: soh-api
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8400:8400"
|
|
environment:
|
|
SOH_INFLUXDB_URL: http://influxdb:8086
|
|
SOH_INFLUXDB_TOKEN: ${INFLUXDB_TOKEN}
|
|
SOH_INFLUXDB_ORG: kxkm
|
|
SOH_INFLUXDB_BUCKET: bmu
|
|
SOH_INFLUXDB_OUTPUT_BUCKET: bmu
|
|
SOH_TSMIXER_ONNX_PATH: /models/tsmixer_soh.onnx
|
|
SOH_GNN_ONNX_PATH: /models/gnn_fleet.pt
|
|
volumes:
|
|
- model-data:/models
|
|
networks:
|
|
- kxkm
|
|
depends_on:
|
|
- soh-scheduler
|
|
|
|
soh-scheduler:
|
|
build:
|
|
context: .
|
|
target: soh-scheduler
|
|
container_name: soh-scheduler
|
|
restart: unless-stopped
|
|
environment:
|
|
SOH_INFLUXDB_URL: http://influxdb:8086
|
|
SOH_INFLUXDB_TOKEN: ${INFLUXDB_TOKEN}
|
|
SOH_INFLUXDB_ORG: kxkm
|
|
SOH_INFLUXDB_BUCKET: bmu
|
|
SOH_INFLUXDB_OUTPUT_BUCKET: bmu
|
|
SOH_SCORING_INTERVAL_MIN: 30
|
|
SOH_TSMIXER_ONNX_PATH: /models/tsmixer_soh.onnx
|
|
SOH_GNN_ONNX_PATH: /models/gnn_fleet.pt
|
|
volumes:
|
|
- model-data:/models
|
|
networks:
|
|
- kxkm
|
|
|
|
soh-train:
|
|
build:
|
|
context: .
|
|
target: soh-train
|
|
container_name: soh-train
|
|
profiles: ["train"] # Only starts with: docker compose --profile train up soh-train
|
|
environment:
|
|
SOH_INFLUXDB_URL: http://influxdb:8086
|
|
SOH_INFLUXDB_TOKEN: ${INFLUXDB_TOKEN}
|
|
volumes:
|
|
- model-data:/models
|
|
- ./src:/app/src # Live code mount for development
|
|
networks:
|
|
- kxkm
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- capabilities: [gpu]
|
|
|
|
volumes:
|
|
model-data:
|
|
driver: local
|
|
|
|
networks:
|
|
kxkm:
|
|
external: true # Shared with existing infra (MQTT, InfluxDB, Grafana)
|