22 lines
1009 B
YAML
22 lines
1009 B
YAML
# H2 remote-history smoke overlay (opt-in: `rig.py up --history`). Adds a SqlServer historian backend
|
|
# and continuous historization to the SOURCE pair, and selects the seeder's history profile. The
|
|
# historian schema (`hist`, auto-created) lives in the run's own SQL container, beside the config DB.
|
|
# Without this file the rig is the unchanged v1 fixture.
|
|
|
|
x-source-history-env: &source-history-env
|
|
ServerHistorian__Enabled: "true"
|
|
ServerHistorian__Backend: SqlServer
|
|
ServerHistorian__SqlServer__ConnectionString: "Server=sql,1433;Database=OtOpcUa;User Id=sa;Password=${GRPC_DATA_SQL_PASSWORD:?generated SQL password required};TrustServerCertificate=True;Encrypt=False"
|
|
ContinuousHistorization__Enabled: "true"
|
|
ContinuousHistorization__OutboxPath: /app/data/historization-outbox
|
|
ContinuousHistorization__DrainIntervalSeconds: "1"
|
|
|
|
services:
|
|
seeder:
|
|
environment:
|
|
GRPC_DATA_HISTORY: "1"
|
|
source-1:
|
|
environment: *source-history-env
|
|
source-2:
|
|
environment: *source-history-env
|