docker_weather/README.md

581 B

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 update --restart unless-stopped wttrin10

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