homelab-codex-ws/services/ha-diag-agent/tests/integration/docker-compose.ken.yml
Oskar Kapala 07bd498fd6 feat(ha-diag-agent): test environment with dual HA Docker instances
- dockerized ken + chelsty HA test instances with template fixtures
- snapshot/reset/wait scripts for fixture management
- integration test infrastructure with separate marker
- location_tag promoted from metadata to event payload (Phase 1 flag #3)
- chelsty-infra target_url points to chelsty-ha via tailnet (Phase 1 flag #1)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-29 12:56:13 +02:00

28 lines
608 B
YAML

services:
ha-ken-init:
image: busybox
container_name: ha-test-ken-init
command: sh -c "cp -rn /fixtures/. /config/ && echo 'Fixtures copied'"
volumes:
- ./fixtures/ken:/fixtures:ro
- ha_ken_config:/config
restart: "no"
ha-ken:
image: ghcr.io/home-assistant/home-assistant:stable
container_name: ha-test-ken
privileged: true
depends_on:
ha-ken-init:
condition: service_completed_successfully
ports:
- "8123:8123"
volumes:
- ha_ken_config:/config
environment:
TZ: UTC
restart: "no"
volumes:
ha_ken_config: