bloodsangre7

joined 2 years ago
[–] bloodsangre7@lemmy.world 2 points 2 years ago

Yeah it seems like HA OS is the way to go, running the separate Docker containers has been a headache and breaks/take time more than it's worth

9
submitted 2 years ago* (last edited 2 years ago) by bloodsangre7@lemmy.world to c/selfhosted@lemmy.world
 

Have HA running in a Docker container, wanted to set up the Sonoff Zigbee USB as a hub for smart devices in the house, can't figure out why this is so hard.

Ok so DSM 7 doesn't support USB, thats ok, managed to download the drivers and see the ttyUSB0 for the USB stick. But then when setting up the Mosquitto and Zigbee2MQTT containers the Z2M one crashes with the errors in the photo attached.

Is there something I'm missing or an easier way to do this for Synology NAS and HA running in a container? I guess I can VIM the HA OS but I just want to figure out the issue or find an easier way to set up a Zigbee network in the house that works

Thanks

[–] bloodsangre7@lemmy.world 1 points 2 years ago

For anyone trying to google a solution, I got it to work with the below in Portainer

version: '3.7'

services:

api:
    image: 'gthole/drink-stash:latest'
    init: true
    restart: 'always'
    environment:
      - SECRET_KEY=*enter-a-key-here*
      - ALLOWED_HOSTS=*enter-ip-here*
      - DJANGO_SUPERUSER_USERNAME=*can-be-whatever*
      - DJANGO_SUPERUSER_EMAIL=*duh*
      - DJANGO_SUPERUSER_PASSWORD=*make-it-up*
      - DJANGO_SUPERUSER_FIRST_NAME=*John*
      - DJANGO_SUPERUSER_LAST_NAME=*Smith*
      - INITIAL_FIXTURES=recipes
    ports:
      - 8081:8000
    volumes:
        - /volume1/docker/drink-stash/data:/data
        - /volume1/docker/drink-stash/public:/public
 

I would love to be able to spin up a container for this cocktail recipe thing I found on Docker Hub.

https://hub.docker.com/r/gthole/drink-stash

I am running a Synology DSM 7.2, I have Portainer and have enough knowledge to set up basic things with lots of guides like plex/pihole. But since this is such a niche app my lack of knowledge is hurting.

Anyone have guidance for setting this up for someone with my tools and experience?

[–] bloodsangre7@lemmy.world 1 points 2 years ago

Yeah, the digg v4 move didn't have identical reasons as now, but it sure felt familar