🚧 WIP
This commit is contained in:
@@ -22,12 +22,26 @@ services:
|
||||
WAGO_SIM_PORT: "502"
|
||||
# Uncomment to trace every Modbus transaction in plain text:
|
||||
# WAGO_SIM_VERBOSE: "1"
|
||||
#
|
||||
# Host network settings page (spec §15) — BOTH gates are needed:
|
||||
# the flag plus this in-docker marker (the /.dockerenv file the
|
||||
# runtime also creates is a supplementary signal only). The
|
||||
# host-side agent (deploy/wago-sim-hostnet-agent.service) must be
|
||||
# running on the host and its socket mounted below — otherwise
|
||||
# the page shows "host control unavailable" and mutations 503.
|
||||
# WAGO_SIM_HOSTNET: "1"
|
||||
WAGO_SIM_IN_DOCKER: "1"
|
||||
volumes:
|
||||
- ./config:/app/config:ro
|
||||
- ./scenarios:/app/scenarios:ro
|
||||
- ./plugins:/app/plugins:ro
|
||||
# Report output for headless `run` invocations (spec §8 soak reports):
|
||||
- ./out:/app/out
|
||||
# Host network settings (spec §15): the agent's Unix socket from
|
||||
# the host, so the container never needs host privileges. Uncomment
|
||||
# together with WAGO_SIM_HOSTNET above; group_add below must match
|
||||
# the socket's group on the host.
|
||||
# - /run/wago-sim:/run/wago-sim
|
||||
# Deterministic sim is CPU-light; keep 1 CPU for a stable FAT bench
|
||||
deploy:
|
||||
resources:
|
||||
|
||||
Reference in New Issue
Block a user