From 498bc0250ab0bffe7c6eff3c3fa668d7184ed69c Mon Sep 17 00:00:00 2001 From: Jan Date: Wed, 11 Dec 2024 22:49:50 +0100 Subject: [PATCH] UPDATED compose --- README.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d6d67d4..9cdcdd0 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,26 @@ # humiditycalc + +This service allows you to compare the absolute humidity from indoor and outdoor. -BOTH slow- every req talks to api - -## ENV +## Setup +The setup is aimed for docker. + +### DOCKER COMPOSE EXAMPLE + +``` +services: + humiditycalc: + restart: always + container_name: humiditycalc + image: ghcr.io/leroid-hub/humiditycalc:latest + environment: + OPENWEATHERMAP_API_KEY: "YOURKEY" + LATITUDE: "40.07" + LONGITUDE: "9.8" + MODE: "BOTH" +``` + +### ENVIROMENT VARS MODES: CALC, WEATHER, BOTH BOTH is standard