Sign inSign up

bletvaska/weather

By bletvaska

Updated about 2 years ago

Simple Weather app for my Docker 101 course.

Image
0

1.7K

bletvaska/weather repository overview

Weather App

Simple Weather app for my Docker 101 course. The info is taken from openweathermap.org.

Tags

Environment Variables

Application can be controlled with following environment variables:

  • WEATHER_ENVIRONMENT - Setting the environment, in which app will run. Possible values are DEVELOPMENT and PRODUCTION. When in dev environment, the debug logs will be seen also. Default is set to PRODUCTION.
  • WEATHER_UNITS - Units specification for temperature. Possible values are standard, metric and imperial. Default is set to metric.
  • WEATHER_QUERY - You can specify the name of the city you want the forecast for. Default is set to kosice.
  • WEATHER_UPDATE_INTERVAL - Update interval in seconds. Min value is 15 and max value is 3600. Default value is set to 60.
  • WEATHER_DT_FORMAT - Format of time and date. Currently set to ISO 8601 format ("%Y-%m-%dT%H:%M:%SZ").
  • WEATHER_TOKEN - API Token for openweathermap.org service.

Tag summary

Content type

Image

Digest

sha256:4ea363edd

Size

70.8 MB

Last updated

about 2 years ago

docker pull bletvaska/weather