Update README.md

This commit is contained in:
Riku Silvennoinen 2023-11-18 03:20:20 +02:00
parent 3ebcdba1cf
commit ad7f51a886

View File

@ -15,6 +15,7 @@ Lataa kontti Dockeriin:
<code>sudo docker load -i weather-image.tar</code>
Anna koordinaatit muodossa: desimaaliasteet (DD): 41.40338, 2.17403
Aika tiedot (TZ) löytyy täältä: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
@ -22,6 +23,8 @@ Aika tiedot (TZ) löytyy täältä: https://en.wikipedia.org/wiki/List_of_tz_dat
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>
Käynnistä kontti tietokoneen käynnistyessä:
<code>sudo docker update --restart unless-stopped weather</code>