Closed RubenWaterman closed 4 years ago
I use http://supervisord.org
I also created a docker image based one this definition...
@mabunixda That's super nice! Deployed it right away with a docker-compose.yml file so that it comes back up after restarting as well :)
version: '3'
services:
weather:
build: .
ports:
- "6066:6066"
restart: always
environment:
DARKSKY_SECRET_KEY: darkskykey
hey! this LoxoneWeather.py is awesome and it works like a charm! How have you set this up on your raspberry pi so that it restarts if it crashes or that the python webserver restarts when the raspberry pi reboots?