Sample Files

docker-compose.yml

version: "3.1"

services:
  edge-app:
    image: "predix-edge-deadband-app:amd64-latest"
    environment:
      config: "/config/config-deadband.json"
    networks:
      - predix-edge-broker_net
    deploy:
      restart_policy:
        condition: on-failure
        delay: 5s
        max_attempts: 5
        window: 30s

networks:
  predix-edge-broker_net:
    external: true

config.json

{
	"tags": {
		"variable name 1": {"type": "absolute", "value": 2.5, "timeoutInMS": 100000 },
		"variable name 2": {"type": "percent", "value": 10, "timeoutInMS": 500000 }
	},
	"listenTopic":"timeseries_data",
	"publishTopic":"timeseries_data_deadband",
	"clientid":"predix-edge-deadbanding",
	"qos":1,
	"log_level": "warn"
}