2023-09-20 23:28:10 +03:00
2023-09-21 02:08:53 +03:00
2023-09-22 08:21:48 +03:00
2023-09-22 08:23:09 +03:00

Säätiedot! Weather!

Lisätietoa täällä: https://github.com/chubin/wttr.in

Muunna script.py tiedostosta 15 ja 16 rivi. Laita omat koordinaattisi missä asut, niin säätiedot haetaan sen mukaan.

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

cd docker_weather

sudo docker build -t weather .

sudo docker run -d --name wttrin10 -p 8600:80 weather

sudo docker exec -it wttrin10 /bin/bash

http://localhost:8600

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

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