diff --git a/.gitignore b/.gitignore index 53607f7..c2e0ab4 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ # Home assistant configuration file configuration.production.yaml + +.env +run-docker.sh diff --git a/microservices/weather/.env b/microservices/weather/.env index 12c93cb..d98824c 100644 --- a/microservices/weather/.env +++ b/microservices/weather/.env @@ -1,6 +1,6 @@ weather_weather_api_base_url=https://api.openweathermap.org/data/2.5/weather weather_weather_api_key=4ce897f7ce77f84919fd990cc68d9d20 -weather_influx_db_base_url=http://jumpbox.io:8092 +weather_influx_db_base_url=http://192.168.1.44:8092 weather_influx_db_token=R1BGVaxWrX_ySaovweRz6ZTBDvHa5omQkricJGmn3PrI44jpfU7411PSmHOCjGcNR7OcBjmtE9gA62boHHXoKg== weather_latitude=50.854019 weather_longitude=3.355230 diff --git a/microservices/weather/run-docker.sh b/microservices/weather/run-docker.sh index 43c1d3a..a9ea35c 100755 --- a/microservices/weather/run-docker.sh +++ b/microservices/weather/run-docker.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -file=logs.$(date "+%F").txt +file=/home/willem/repos/homeAutomation/microservices/weather/logs.$(date "+%F").txt -docker run --env RUST_LOG=info --env-file ./.env registry.willemserruys.com/weather-microservice:latest &> $file +docker run --env RUST_LOG=info --env-file /home/willem/repos/homeAutomation/microservices/weather/.env registry.willemserruys.com/weather-microservice:latest &>> $file