ioBroker

iobroker (homeautomatisation:https://www.iobroker.net/) is a free javascript based internet of things and homeautomatisation software. its possible to run it on a raspberry pi, container or own pc. lots of plugins and possibilities.

my docker-compose.yml

version: "2"
 
services:
  iobroker:
    container_name: iobroker
    image: buanet/iobroker:latest
    hostname: iobroker
    network_mode: host
    restart: unless-stopped
    ports:
      - "80:80"      #alexahub 
      - "1880:1880"  #node-red
      - "1882:1882"  #mqtt shelly
      - "1883:1883"  #mqtt tasmota/sonoff
      - "8091:8081"  #iobrokeradmin
      - "8092:8082"  #vis
 
    devices:
      - /dev/ttyACM0:/dev/ttyACM0
    environment:
      - IOB_STATESDB_HOST=127.0.0.1
      - IOB_STATESDB_PORT=6379
      - IOB_STATESDB_TYPE=redis
      - SETGID=1200
      - SETUID=1200
    volumes:
      - /opt/docker-iobroker-redis/iobroker-data:/opt/iobroker

i dont need to expose ports, but for own documentation its usefull.