shelly-admin
shelly-admin copied to clipboard
Feature Request: Make Shelly Admin available as Docker image
Nice work @maxlyth !! I've tried to install one of the docker images you have published for supervisor but no luck. It'll be awesome to make it also available for those using HA Core installed in docker.
I use ShellyAdmin with Docker. Since the Shelly Devices are discovered by upd broadcast, the container needs to run on the host network. (docker run --network host ...)
You could the use this Dockerfile:
FROM node
RUN apt-get update && apt-get install -y \
curl \
&& rm -rf /var/lib/apt/lists/*
# Create app directory
WORKDIR /app
COPY . .
# update each dependency in package.json to the latest version
RUN npm install -g npm-check-updates \
ncu -u \
npm install
COPY . /app
EXPOSE 43812
CMD [ "node", "./bin/www" ]
Or just build from my fork: $ docker build https://github.com/JulianHi/shelly-admin.git $ docker run --network host --name shelly-admin julianhi/shelly-admin:latest
^^something like this should work. ( I use portainer.io though... so i didn't tested if the docker run part is actually working like this)
I run docker on a Synology NAS and unsure how to do any of this.
This looks cool but the complete lack of instructions on how to use it is a massive turn down
@JulianHi Can you please share how to deploy (A-Z, nooby here...) on portainer.io please?
And will be available definitions in yaml to docker-compose.yml
?