inspark-data-center/controller-emulator.sh

7 lines
201 B
Bash
Raw Permalink Normal View History

2024-11-08 17:18:03 +00:00
#!/bin/sh
SERIAL=$1
HOST=$2
docker run --name="$SERIAL-$HOST" -d --restart=unless-stopped --add-host="emqx:$HOST" -e "WB_SERIAL=$SERIAL" -e "COLLECTOR=$HOST:1883" insparkplatform/plc_emulator:latest