We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 327063b commit efe7f76Copy full SHA for efe7f76
1 file changed
README.md
@@ -4,4 +4,22 @@ Simple project that demonstrates a Modbus device.
4
# Limitations
5
Initially, the simulator only supports simulating a TCP device.
6
7
+# Docker
8
+
9
+To run in docker:
10
11
+`docker run -it --rm -p 502:502 --name devicesim nmodbus/devicesim`
12
13
+To specify the port:
14
15
+`docker run -it --rm -p 1000:1000 -e "DEVICE__PORT=1000" --name devicesim nmodbus/devicesim`
16
17
+# Environment Variables
18
19
+|Option|Default Value|
20
+|---|---|
21
+|DEVICE__ADDRESS | |
22
+|DEVICE__PORT | 502 |
23
+|DEVICE__UNITID| 1 |
24
+|DEVICE__VERBOSE| false |
25
0 commit comments