Comments (3)
In the meantime, this is my way of running it within a container. I do all of this with the portainer web app on my NAS.
Dockerfile (Create the image):
FROM openjdk:latest
WORKDIR /app
ADD https://github.com/stefanvictora/hue-scheduler/releases/download/v0.9.0/hue-scheduler.jar /app
Docker Compose yaml:
version: '3'
services:
my-hue-scheduler:
image: hue-scheduler:0.9.0
container_name: "hue-scheduler"
environment:
- TZ=Europe/Berlin
dns:
- <router IP>
network_mode: "bridge"
volumes:
- <host_path>:/etc/opt/hue-scheduler/
command: java -jar hue-scheduler.jar <hue bridge IP> <api-token> --lat=<lat> --long=<long> --elevation=<elevation> /etc/opt/hue-scheduler/schedules.txt
deploy:
restart_policy:
condition: on-failure
from hue-scheduler.
Hi @jryom, thank you for the kind words! Glad to hear that you find it useful as well. And good idea of publishing an official docker image. I'm actually currently looking into adding support for the Home Assistant API and addon system (see #8), which will also require some form of dockerization in the end. I will keep you both updated once I manage to publish an image.
Feel free to reach out if you encounter any issues or you have some further ideas for improvement! I appreciate any input :)
from hue-scheduler.
I have now managed to publish v0.10.0, which is fully available as a Docker image. Check it out here: https://hub.docker.com/r/stefanvictora/hue-scheduler.
Please review the updated documentation on how to provide the required arguments to the container. To summarize, the recommended way is now to provide them as environment variables, as shown in the examples. The old method of using the command
property is still supported.
If you have any questions or suggestions for improving the Docker image, feel free to reach out.
from hue-scheduler.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hue-scheduler.