Update README.md

This commit is contained in:
Riku Silvennoinen 2023-10-18 12:19:20 +03:00
parent 546fb2628d
commit b7a04e8bb2

View File

@ -1,4 +1,5 @@
<h1>Säätiedot! Weather!</h1> <h1>Säätiedot! Weather!</h1>
Perustuu wttrin sääpalveluun: https://github.com/chubin/wttr.in Perustuu wttrin sääpalveluun: https://github.com/chubin/wttr.in
Kloonaa kansio: Kloonaa kansio:
@ -13,7 +14,7 @@ Pura kansio:
Lataa kontti Dockeriin: Lataa kontti Dockeriin:
<code>sudo docker load -i weather-image.tar</code> <code>sudo docker load -i weather-image.tar</code>
Aika tiedot (TZ) löytyy täältä: [https://en.wikipedia.org/wiki/List_of_tz_database_time_zones] Aika tiedot (TZ) löytyy täältä: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
Käynnistä kontti: Käynnistä kontti:
<code>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</code> <code>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</code>