# QuestDB historian integration-test fixture (#822) — the QuestDB backend's shared, always-available instance. # # Deployed on the shared Docker host (see infra/README.md §1) as /opt/otopcua-questdb: # # rsync -av tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Historian.QuestDb.IntegrationTests/Docker/ \ # dohertj2@10.100.0.35:/opt/otopcua-questdb/ # ssh dohertj2@10.100.0.35 'cd /opt/otopcua-questdb && docker compose up -d' # # Endpoint (HISTORIAN_QUESTDB_TEST_CONNECTION): # Host=10.100.0.35;Port=8812;Username=admin;Password=quest;Database=qdb;ServerCompatibilityMode=NoTypeLoading # Web console: http://10.100.0.35:19000 (host :9000 is taken on the Docker host). # # admin/quest is QuestDB's stock default — a throwaway dev fixture credential, not a secret. The tests isolate by a # unique table prefix per test class and drop their tables on dispose, so the instance can be shared by concurrent runs. # # Image pinned as in docker-dev/docker-compose.questdb.yml (questdb/questdb:10.0.1, the #666 T0 spike's version; ≥ 8.2.3 # for table TTL). cairo.ttl.use.wall.clock stays at its default (true) — the historian relies on it (#674.1). services: questdb: image: questdb/questdb:10.0.1 container_name: otopcua-questdb restart: unless-stopped # Every lmxopcua fixture container carries this so the shared Docker host stays # discoverable with `docker ps --filter label=project=lmxopcua`. labels: project: lmxopcua ports: - "8812:8812" # PG wire (the historian backend + tests) - "19000:9000" # web console / REST volumes: - otopcua-questdb-fixture-data:/var/lib/questdb healthcheck: test: ["CMD-SHELL", "curl -fs http://localhost:9003/status || exit 1"] interval: 10s timeout: 5s retries: 12 volumes: otopcua-questdb-fixture-data: name: otopcua-questdb-fixture-data labels: project: lmxopcua