From d33fbf8dd0ced0c0027b774c7d617ef18666cca2 Mon Sep 17 00:00:00 2001 From: wserr Date: Thu, 26 Dec 2024 10:54:49 +0100 Subject: [PATCH] Cleanup --- .gitignore | 2 -- microservices/readme.md | 3 --- microservices/weather/.gitignore | 1 - microservices/weather/{ => environment-variables}/.env | 0 microservices/weather/scripts/run-docker.sh | 2 +- 5 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 microservices/readme.md rename microservices/weather/{ => environment-variables}/.env (100%) diff --git a/.gitignore b/.gitignore index 1003c2c..cbcb1cd 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,3 @@ production.env # Home assistant configuration file configuration-production.yaml - -.env diff --git a/microservices/readme.md b/microservices/readme.md deleted file mode 100644 index d357649..0000000 --- a/microservices/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# Microservices - -TODO diff --git a/microservices/weather/.gitignore b/microservices/weather/.gitignore index 9f674f0..7d78b58 100644 --- a/microservices/weather/.gitignore +++ b/microservices/weather/.gitignore @@ -15,7 +15,6 @@ Cargo.lock # App settings Settings.toml -.env # Log files logs.*.txt diff --git a/microservices/weather/.env b/microservices/weather/environment-variables/.env similarity index 100% rename from microservices/weather/.env rename to microservices/weather/environment-variables/.env diff --git a/microservices/weather/scripts/run-docker.sh b/microservices/weather/scripts/run-docker.sh index ac6e739..bd78ed4 100755 --- a/microservices/weather/scripts/run-docker.sh +++ b/microservices/weather/scripts/run-docker.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash # Make sure the weather-service-image exists locally (e.g. by running the build-docker script) -docker run --env RUST_LOG=info --env-file /home/pi/repos/homeAutomation/microservices/weather/.env.production weather-service:latest +docker run --env RUST_LOG=info --env-file /home/pi/repos/homeAutomation/microservices/weather/environment-variables/.env.production weather-service:latest