2023-10-18 09:57:24 +03:00
2023-10-18 09:48:41 +03:00

Säätiedot! Weather!

Perustuu wttrin sääpalveluun: https://github.com/chubin/wttr.in

Kloonaa kansio: git clone http://88.114.1.82:3000/RikuSi/docker_weather.git

Mene kansioon: cd docker_weather

Pura kansio: unzip weather-image.tar.zip

Lataa kontti Dockeriin: sudo docker load -i weather-image.tar

Käynnistä kontti: sudo docker run -d --name weather -e LATITUDE="61.4981" -e LONGITUDE="23.7608" -e MAX_RESULTS="10" -e TZ="Europe/Helsinki" -p 8600:80 weather-image

sudo docker update --restart unless-stopped weather

http://localhost:8600

Scripti joka hakee tiedot päivittyy 10 min välein. Selain päivittyy 5 min välein

Description
Säätiedot lähimmistä kaupunkeista.
Readme 628 MiB