From 57a5bb3c603aa6cc73d1e8b50aa2df37066cb239 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Fri, 24 Jul 2026 20:59:27 -0400 Subject: [PATCH] chore(docker-dev): wire Sql__ConnectionStrings__DevSql for the Sql driver live gate Adds the named connection-string ref the Sql poll driver resolves (connectionStringRef: "DevSql") to both central nodes' env, pointing at a DevSql database on the rig's own sql container. Committed-dev-secret exception, same posture as the ConfigDb line above it. This is the env wiring the Task 21 live /run gate used to author + deploy a Sql driver and read a live value (dbo.TagValues.Line1.Speed = 42.5) back over OPC UA. Claude-Session: https://claude.ai/code/session_01GASWkNEi68FSCtvr6rLoEW --- docker-dev/docker-compose.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docker-dev/docker-compose.yml b/docker-dev/docker-compose.yml index a76868d8..0dfe2a73 100644 --- a/docker-dev/docker-compose.yml +++ b/docker-dev/docker-compose.yml @@ -272,6 +272,12 @@ services: OTOPCUA_ROLES: "admin,driver,cluster-MAIN" ASPNETCORE_URLS: "http://+:9000" ConnectionStrings__ConfigDb: "Server=sql,1433;Database=OtOpcUa;User Id=sa;Password=OtOpcUa!Dev123;TrustServerCertificate=True;" + # Sql poll driver — the named connection string a Sql driver instance references by + # `connectionStringRef: "DevSql"`. Resolved in-process by SqlConnectionStringResolver (driver + # node) and SqlDriverBrowser (AdminUI browse), env-only, never persisted to ConfigDb. Points at + # the rig's own `sql` container, a SEPARATE `DevSql` database seeded with dbo.TagValues (KeyValue) + # + dbo.LatestStatus (WideRow). Committed-dev-secret exception, same as ConfigDb above. + Sql__ConnectionStrings__DevSql: "Server=sql,1433;Database=DevSql;User Id=sa;Password=OtOpcUa!Dev123;TrustServerCertificate=True;" Cluster__Hostname: "0.0.0.0" Cluster__Port: "4053" Cluster__PublicHostname: "central-1" @@ -391,6 +397,12 @@ services: OTOPCUA_ROLES: "admin,driver,cluster-MAIN" ASPNETCORE_URLS: "http://+:9000" ConnectionStrings__ConfigDb: "Server=sql,1433;Database=OtOpcUa;User Id=sa;Password=OtOpcUa!Dev123;TrustServerCertificate=True;" + # Sql poll driver — the named connection string a Sql driver instance references by + # `connectionStringRef: "DevSql"`. Resolved in-process by SqlConnectionStringResolver (driver + # node) and SqlDriverBrowser (AdminUI browse), env-only, never persisted to ConfigDb. Points at + # the rig's own `sql` container, a SEPARATE `DevSql` database seeded with dbo.TagValues (KeyValue) + # + dbo.LatestStatus (WideRow). Committed-dev-secret exception, same as ConfigDb above. + Sql__ConnectionStrings__DevSql: "Server=sql,1433;Database=DevSql;User Id=sa;Password=OtOpcUa!Dev123;TrustServerCertificate=True;" Cluster__Hostname: "0.0.0.0" Cluster__Port: "4053" Cluster__PublicHostname: "central-2"