# #923 Gateway origin backend (opt-in: `rig.py up --history --history-backend gateway`), layered AFTER compose.history.yml: # the SOURCE pair reads history from a HOST-RUN, READ-ONLY HistorianGateway (`ServerHistorian:Backend=Gateway`) that reads # the real AVEVA Historian. The gateway is NOT run-owned: start it yourself before `up` (README ยง"Gateway origin backend") # with `ApiKeys:Mode=Disabled` and `Historian:LiveWritesEnabled=false`, its ports bound to the host loopback. # # Read-only on this side too: the historized fixture tags are bound `historianReadOnly` to existing historian tags # (GRPC_DATA_HISTORY_GATEWAY_TAGS, applied by the seeder), provisioning is Off and continuous historization is off, so # nothing here asks the gateway to create a tag or write a value. The API key below is a placeholder (the gateway ignores # keys in Disabled mode); never put a real key in this file. x-source-gateway-env: &source-gateway-env ServerHistorian__Backend: Gateway ServerHistorian__Endpoint: ${GRPC_DATA_HISTORY_GATEWAY_ENDPOINT:?gateway endpoint required} # The gateway client refuses an empty key; a Disabled-mode gateway never verifies it. A placeholder, NOT a credential. ServerHistorian__ApiKey: histgw_disabledmode_placeholder ServerHistorian__UseTls: "false" ServerHistorian__AllowUntrustedServerCertificate: "true" ServerHistorian__ProvisionTags: "Off" ServerHistorian__SqlServer__ConnectionString: "" ContinuousHistorization__Enabled: "false" services: seeder: environment: GRPC_DATA_HISTORY_GATEWAY_TAGS: ${GRPC_DATA_HISTORY_GATEWAY_TAGS:?gateway tag bindings required} source-1: environment: *source-gateway-env source-2: environment: *source-gateway-env