SensorsIot / IOTstack

Docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.44k stars 307 forks source link

Wishlist: ioBroker Support #552

Closed mooseDev closed 2 years ago

mooseDev commented 2 years ago

Please add ioBroker to the list. Thx

ukkopahis commented 2 years ago

Please provide your working docker-compose.yml example.

Paraphraser commented 2 years ago

Seems straightforward enough. Try this:

  iobroker:
    container_name: iobroker
    image: buanet/iobroker
#   hostname: iobroker
    restart: unless-stopped
    environment:
    - TZ=Etc/UTC
    - SETGID=1000
    - SETUID=1000
    ports:
      - "8084:8081"
    volumes:
      - ./volumes/iobroker:/opt/iobroker

External ports 8081..8083 already used by other templates. 8084 is first free in that sequence.

Not sure about the purpose of hostname. I know what it does. I just don't see the point in this context. That's why I've commented it out.

Included the uid/gid so you can give it "the treatment" once you settle on what that should be.

Seems to be "well behaved" - self initialises persistent storage. All owned by pi.

Paraphraser commented 2 years ago

@mooseDev if you don't have a working service definition of your own to compare/contrast with the one I've suggested above, please do a copy/paste of mine into your own docker-compose.yml and see if it meets your needs. I don't pretend to understand what iobroker is or does so I'm not really in a position to test or offer critical evaluation. You'll have to decide whether this is fit for purpose or needs tweaking.

Paraphraser commented 2 years ago

No response. Should probably be considered stale.