Skip to content

Latest commit

 

History

History

weather

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

weather

Client application for reading weather data from OpenWeather and air quality data from IQAir.

docker-compose

services:
  weather:
    image: ghcr.io/lpgera/argus
    environment:
      - ARGUS_URL=http://backend:4000
      - ARGUS_API_KEY=<api key with write access>
      - ARGUS_SENSOR_LOCATION=<sensor location name>
      - WEATHER_LATITUDE=
      - WEATHER_LONGITUDE=
      - WEATHER_OPENWEATHERMAP_API_KEY=
      - WEATHER_OPENWEATHERMAP_UNITS=
      - WEATHER_AIRVISUAL_API_KEY=
      - WEATHER_MEASUREMENT_CRON= # optional, defaults to */10 * * * *
    command: npm run start -w weather
    restart: unless-stopped